Same fix for isActionSet()
authorRoland Häder <roland@mxchange.org>
Tue, 28 Jul 2009 21:39:06 +0000 (21:39 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 28 Jul 2009 21:39:06 +0000 (21:39 +0000)
inc/wrapper-functions.php

index 3622206589027c3680d34c714c2dfaacb03bbf3a..1df653fb9bcd16d13e00ef9d72c7a603d651929a 100644 (file)
@@ -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)) {