X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fwrapper-functions.php;h=9a885ede7f13c7eaad08ed1403536c15132497ec;hb=be3bcf24cbb7277998a5c149308c9fb644c13ef5;hp=48db9bbc05b706263abad490660594bfce5b9fb4;hpb=be81324dfff59fa3aeac6844d10afe8c15286dff;p=mailer.git 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