projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d9f3578
)
getAction() now allows non-strict checking of existence of 'action' cache element...
author
Roland Häder
<roland@mxchange.org>
Mon, 5 Apr 2010 01:40:14 +0000
(
01:40
+0000)
committer
Roland Häder
<roland@mxchange.org>
Mon, 5 Apr 2010 01:40:14 +0000
(
01:40
+0000)
inc/wrapper-functions.php
patch
|
blob
|
history
diff --git
a/inc/wrapper-functions.php
b/inc/wrapper-functions.php
index 48db9bbc05b706263abad490660594bfce5b9fb4..9a885ede7f13c7eaad08ed1403536c15132497ec 100644
(file)
--- 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