]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/rallye_functions.php
Caching again rewritten, admin functions fixed:
[mailer.git] / inc / libs / rallye_functions.php
index ef1624286c8fa17b4d47f67605efc4d52bf68b98..a390b61829d3248efbc243abcdaf4365f96f8c87 100644 (file)
@@ -789,7 +789,7 @@ function getReferalRallyeRefsCount ($userid, $old = 0) {
                        //* DEBUG: */ outputHtml("id={$id},userid={$userid},userid={$userid},old={$old},level={$GLOBALS['cache_array']['refsystem']['level'][$id]}<br />");
                        if (($userid == $userid) && ($GLOBALS['cache_array']['refsystem']['level'][$id] == 1)) {
                                //* DEBUG: */ outputHtml("userid matches!<br />");
-                               foreach ($GLOBALS['cache_array']['ref_depths']['level'] as $level) {
+                               foreach ($GLOBALS['cache_array']['refdepths']['level'] as $level) {
                                        if (($level == $GLOBALS['cache_array']['refsystem']['level'][$id]) && ($level == 1)) {
                                                // Level does exist so abort here
                                                $cnt = $GLOBALS['cache_array']['refsystem']['counter'][$id];