From e81bae12c3ed998e5dce877f5baff1bd3c7bf597 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 5 Apr 2010 01:40:14 +0000 Subject: [PATCH 1/1] 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.2