From 2209ee214afeee0fde5929316b6c7f0c4327cd11 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 21 Dec 2005 22:59:21 +0000 Subject: [PATCH] r641: Link construction code now works right... --- includes/functions.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index ebc61bb..e27d571 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -410,7 +410,7 @@ function fetch_on_bits($mask) // the pre-parse hook for ISSO's template engine function isso_pre_parse_hook($template) { - $template = preg_replace('#\$help\[(.*)\]#', '" . fetch_help_link(\'\1\') . "', $template); + $template = preg_replace('#\$help\[(.*)\]#', '" . fetch_help_link("\1") . "', $template); return $template; } @@ -423,7 +423,8 @@ function fetch_help_link($topic) if (isset($bugsys->datastore['help']["$topic"])) { - return $bugsys->template->fetch('help_link'); + eval('$temp = "' . $bugsys->template->fetch('help_link') . '";'); + return $temp; } else { -- 2.22.5