]> git.mxchange.org Git - mailer.git/commitdiff
Fix for surfbar if no account has depleted points
authorRoland Häder <roland@mxchange.org>
Sun, 12 Oct 2008 00:37:19 +0000 (00:37 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 12 Oct 2008 00:37:19 +0000 (00:37 +0000)
inc/databases.php
inc/libs/refback_functions.php
inc/libs/surfbar_functions.php

index 54cff4d34b775e4ce0fb764974eb5191464e1ee7..f54c7a929f7cda2a05d8a23a9762e9bdbb5f5e59 100644 (file)
@@ -113,7 +113,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
-define('CURR_SVN_REVISION', "493");
+define('CURR_SVN_REVISION', "494");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
index 0df8e050848cb37214521ec64f3b0e1ce20868fa..83aa8a9e3621b54ff20e26bc8ea6cf4db0690b8a 100644 (file)
@@ -267,7 +267,7 @@ function GET_USER_REFS ($uid, $level) {
        $ADD = "";
        $refs = array();
 
-       // Do we have nickname installed?
+       // Do we have nickname extension installed?
        if (EXT_IS_ACTIVE("nickname")) {
                $ADD = ", d.nickname";
        } // END - if
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)) {