X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Frallye_functions.php;h=37c25d174f818987b3e1fd42f07e8142945fe27d;hp=452d8d86bf31c660cb758cc6f657e8aa81baff2d;hb=7101fb925b466f93874bebf49face9667899a04b;hpb=d835272786b97431fd569050e92360ecaf91fc20
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