X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-reflist.php;h=2cc60ef9161def4bd1890781ce73aefceb593263;hb=5b285f7a67a114e9c75338fe3b1c1b02a268f059;hp=0740acbdef23b4b3147061846f01e0563b16dace;hpb=29385a0483bbcbbe940a32a49d488b1d5add15c5;p=mailer.git diff --git a/inc/modules/member/what-reflist.php b/inc/modules/member/what-reflist.php index 0740acbdef..2cc60ef916 100644 --- a/inc/modules/member/what-reflist.php +++ b/inc/modules/member/what-reflist.php @@ -14,8 +14,6 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009, 2010 by Mailer Developer Team * @@ -59,19 +57,17 @@ ORDER BY `level` ASC', __FILE__, __LINE__); // Are there some entries? (Shall be!) -if (SQL_NUMROWS($result) > 0) { +if (!SQL_HASZERONUMS($result)) { // List all levels $OUT = ''; while ($content = SQL_FETCHARRAY($result)) { // Init variables $rows = ''; $counter = '0'; - $SW = 2; // Check for users ref in this level foreach (getUserReferalPoints(getMemberId(), $content['level']) as $refRow) { // Add/"translate" more content - $refRow['sw'] = $SW; $refRow['clickrate'] = translateComma($refRow['clickrate'], true, 1); // Load row template @@ -79,7 +75,6 @@ if (SQL_NUMROWS($result) > 0) { // Count this ref and switch color $counter++; - $SW = 3 - $SW; } // END - foreach // Remember the content