From 215d0d0d066ee2924ec8fa4b8efe6bf93358ad6f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 4 Dec 2009 01:42:00 +0000 Subject: [PATCH] 'what' shouldn't be checked so strictly, but 'action' must??? --- inc/wrapper-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index cd0b929be7..38a6eb12d2 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -504,7 +504,7 @@ function setWhatFromConfig ($configEntry) { // Checks wether what is set and optionally aborts on miss function isWhatSet ($strict = false) { // Check for it - $isset = ((isset($GLOBALS['what'])) && (!empty($GLOBALS['what']))); + $isset = isset($GLOBALS['what']); // Should we abort here? if (($strict === true) && ($isset === false)) { -- 2.39.5