X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fwrapper-functions.php;h=38a6eb12d2288b27863acdfe0948e317ce16fae9;hp=cd0b929be717077e111e5233e8f3448cf5c80761;hb=215d0d0d066ee2924ec8fa4b8efe6bf93358ad6f;hpb=3f273b089ef98ed764d4ce4ae533fb8caf8ef1ae 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)) {