From 071304f85ce6335440e6796e94fe7eac0d8c09d5 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 22 Dec 2005 01:01:51 +0000 Subject: [PATCH] r646: Make returning [[INVALID TOPIC]] a debug-only thing in fetch_help_link() --- includes/functions.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index e27d571..8d17bc1 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -428,7 +428,15 @@ function fetch_help_link($topic) } else { - return "[[INVALID TOPIC: $topic]]"; + if ($bugsys->debug) + { + return "[[INVALID TOPIC: $topic]]"; + } + // do we want this? + else if (null == 1) + { + return eval('$temp = "' . $bugsys->template->fetch('help_link') . '";'); + } } } -- 2.22.5