projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New wrapper functions enableBlockMode() and isBlockModeEnabled() introduced
[mailer.git]
/
inc
/
modules
/
member
/
action-extras.php
diff --git
a/inc/modules/member/action-extras.php
b/inc/modules/member/action-extras.php
index 80760aee9b29e2734bff31bc8bc4202ac7ce5d97..fa0601962ef2f6b769ea221c5da2317d1e19b50a 100644
(file)
--- a/
inc/modules/member/action-extras.php
+++ b/
inc/modules/member/action-extras.php
@@
-42,7
+42,7
@@
if (!defined('__SECURITY')) {
require($INC);
} elseif (!IS_MEMBER()) {
redirectToUrl('modules.php?module=index');
-} elseif (
$GLOBALS['block_mode']
) {
+} elseif (
isBlockModeEnabled()
) {
// Block mode detected
return;
}