From: quix0r Date: Mon, 5 Apr 2010 01:40:14 +0000 (+0000) Subject: getAction() now allows non-strict checking of existence of 'action' cache element... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b07f67884cdcb0a37a0bbe657361a5550110f7f7;p=mailer.git getAction() now allows non-strict checking of existence of 'action' cache element, possible fix for ext-online not in regular output-mode --- diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index 48db9bbc05..9a885ede7f 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -563,12 +563,12 @@ function isWhatSet ($strict = false) { } // Getter for 'action' value -function getAction () { +function getAction ($strict = true) { // Default is null $action = null; // Is the value set? - if (isActionSet(true)) { + if (isActionSet(($strict) && (getOutputMode() == 0))) { // Then use it $action = $GLOBALS['action']; } // END - if