New wrapper functions enableBlockMode() and isBlockModeEnabled() introduced
[mailer.git] / inc / modules / login.php
index 67b049ad2e9abf09fce5cd3a8b75519c7a671627..3ce8c164ac0da36fab055c5cfcb68bf56bbff089 100644 (file)
@@ -58,7 +58,7 @@ if ($GLOBALS['status'] != 'CONFIRMED') {
 define('__MEMBER_ADVERT', LOAD_TEMPLATE('member_banner', true));
 
 // Disable block mode by default
-$GLOBALS['block_mode'] = false;
+enableBlockMode(false);
 
 // Generate a tableset for the menu title and content
 LOAD_TEMPLATE('member_header');