From: Roland Häder Date: Fri, 4 Dec 2009 01:42:00 +0000 (+0000) Subject: 'what' shouldn't be checked so strictly, but 'action' must??? X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=215d0d0d066ee2924ec8fa4b8efe6bf93358ad6f 'what' shouldn't be checked so strictly, but 'action' must??? --- 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)) {