From: Roland Haeder Date: Thu, 31 Dec 2009 16:54:17 +0000 (+0000) Subject: Fix for warning X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f09d1431a7e83202603bc4cfa240897462f543b9;p=ctracker.git Fix for warning --- 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]