From 67fa110f050ea08b698384ac845a4f30a6633d91 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 3 Aug 2010 23:40:24 +0000 Subject: [PATCH] Fixed --- inc/wrapper-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index 1d49f0ac9b..58f557f9a8 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -666,13 +666,13 @@ function enableBlockMode ($enabled = true) { // Checks wether block-mode is enabled function isBlockModeEnabled () { // Abort if not set - if (!isset($GLOBALS[__FUNCTION__])) { + if (!isset($GLOBALS['block_mode'])) { // Needs to be fixed debug_report_bug(__FUNCTION__, __LINE__, 'Block_mode is not set.'); } // END - if // Return it - return $GLOBALS[__FUNCTION__]; + return $GLOBALS['block_mode']; } // Wrapper function for addPointsThroughReferalSystem() -- 2.39.5