]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
Same fix for isActionSet()
[mailer.git] / inc / wrapper-functions.php
index 7cc9c9ec6b37bde0e5951792cd4354b8917d15e7..1df653fb9bcd16d13e00ef9d72c7a603d651929a 100644 (file)
@@ -476,7 +476,7 @@ function setWhatFromConfig ($configEntry) {
 // Checks wether what is set and optionally aborts on miss
 function isWhatSet ($abortOnMiss =  false) {
        // Check for it
-       $isset = (!empty($GLOBALS['what']));
+       $isset = (isset($GLOBALS['what']));
 
        // Should we abort here?
        if (($abortOnMiss === true) && ($isset === false)) {
@@ -511,7 +511,7 @@ function setAction ($newAction) {
 // Checks wether action is set and optionally aborts on miss
 function isActionSet ($abortOnMiss =  false) {
        // Check for it
-       $isset = (!empty($GLOBALS['action']));
+       $isset = (isset($GLOBALS['action']));
 
        // Should we abort here?
        if (($abortOnMiss === true) && ($isset === false)) {