From 7101fb925b466f93874bebf49face9667899a04b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 4 Oct 2008 13:06:14 +0000 Subject: [PATCH] Even more fixes for rallye --- inc/libs/rallye_functions.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inc/libs/rallye_functions.php b/inc/libs/rallye_functions.php index 452d8d86bf..37c25d174f 100644 --- a/inc/libs/rallye_functions.php +++ b/inc/libs/rallye_functions.php @@ -745,11 +745,10 @@ function RALLYE_GET_REFCOUNT($uid, $old=0) { foreach ($cacheArray['ref_system']['userid'] as $id => $u_id) { // Do we have a ref for this user? //* DEBUG: */ echo "id={$id},u_id={$u_id},uid={$uid},old={$old},level={$cacheArray['ref_system']['level'][$id]}
\n"; - if (($u_id == $uid) && (($cacheArray['ref_system']['level'][$id] == 1 && EXT_IS_ACTIVE("refback")) || ($cacheArray['ref_system']['level'][$id] == 0 && GET_EXT_VERSION("refback") == ""))) { + if (($u_id == $uid) && (($cacheArray['ref_system']['level'][$id] == 1 && GET_EXT_VERSION("refback") != "") || ($cacheArray['ref_system']['level'][$id] == 0 && GET_EXT_VERSION("refback") == ""))) { //* DEBUG: */ echo "uid matches!
\n"; // Entry found! $cnt = $cacheArray['ref_system']['counter'][$id]; - //* DEBUG: */ echo "*".$uid."/".$cnt."*
"; break; } // END - if } // END - foreach -- 2.39.5