From 971660df7799478320287231994c67e4b7518701 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 31 Dec 2009 16:54:17 +0000 Subject: [PATCH] Fix for warning --- libs/lib_general.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/lib_general.php b/libs/lib_general.php index ff81bb9..19b7e28 100644 --- a/libs/lib_general.php +++ b/libs/lib_general.php @@ -75,7 +75,8 @@ if (!function_exists('implode_secure')) { // Getter for ctracker_debug function isCrackerTrackerDebug () { - return $GLOBALS['ctracker_debug']; + // Is it set? + return ((isset($GLOBALS['ctracker_debug'])) && ($GLOBALS['ctracker_debug'] === true)); } // [EOF] -- 2.39.5