From: Roland Häder Date: Tue, 3 Aug 2010 23:40:24 +0000 (+0000) Subject: Fixed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=67fa110f050ea08b698384ac845a4f30a6633d91;p=mailer.git Fixed --- 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()