Entities in JavaScript => failed, fixed... login fixed by removing status=GUEST
[mailer.git] / inc / wrapper-functions.php
index 0bcd4f09b13e06a15bacda74b794b3857a516568..0b213f3ec92662b9332c353b6a22b2a416ede46f 100644 (file)
@@ -714,7 +714,7 @@ function initUserData () {
        if (getCurrentUserId() == '0') debug_report_bug('User id is zero.');
 
        // Init the user
-       $GLOBALS['user_data'][getCurrentUserId()]['status'] = 'GUEST';
+       $GLOBALS['user_data'][getCurrentUserId()] = array();
 }
 
 // Getter for user data