From b07f67884cdcb0a37a0bbe657361a5550110f7f7 Mon Sep 17 00:00:00 2001 From: quix0r Date: Mon, 5 Apr 2010 01:40:14 +0000 Subject: [PATCH] getAction() now allows non-strict checking of existence of 'action' cache element, possible fix for ext-online not in regular output-mode --- inc/wrapper-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5