Fix for surfbar if no account has depleted points
[mailer.git] / inc / libs / surfbar_functions.php
index a5f121de430da6cc51c1aaca062c30f444b71af1..4e7497906f2701fba10c4805a4bf485869b3e6ba 100644 (file)
@@ -915,7 +915,11 @@ LIMIT 1",
 // Determine which user hash no more points left
 function SURFBAR_DETERMINE_DEPLETED_USERIDS ($limit=0) {
        // Init array
-       $UIDs = array();
+       $UIDs = array(
+               'uid'      => array(),
+               'points'   => array(),
+               'notified' => array(),
+       );
 
        // Do we have a current user id?
        if ((IS_MEMBER()) && ($limit == 0)) {