]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/rallye_functions.php
More templates rewritten
[mailer.git] / inc / libs / rallye_functions.php
index 7335584f74508405d4306d263de3e3db7fb24a14..700d0ca4d0d14d5cbed3be5f882266c9f615cb18 100644 (file)
@@ -528,7 +528,7 @@ function RALLYE_LOAD_USERS_ARRAY($rallye)
                'cpoints' => array(),
        );
 
-       // Load users                    uid    old   points earned
+       // Load users                          uid    old  points earned
        $result_user = SQL_QUERY_ESC("SELECT userid, refs, curr_points FROM "._MYSQL_PREFIX."_rallye_users WHERE rallye_id=%s ORDER BY userid",
         array(bigintval($rallye)), __FILE__, __LINE__);
        while(list($uid, $refs, $cpoints) = SQL_FETCHROW($result_user))
@@ -740,6 +740,7 @@ function RALLYE_TEMPLATE_SELECTION($name="template", $default="")
 //
 function RALLYE_GET_REFCOUNT($uid, $old=0) {
        global $_CONFIG, $cacheArray;
+
        // Check current refs
        if (GET_EXT_VERSION("cache") >= "0.1.2") {
                // Get refs from cache