X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffix_refsystem.php;h=3c9f1eec1d2d91c63ad47bad78c0cac1c9b09849;hb=9a0f68701baa295b2546aa234704f50b8355ddcf;hp=44547a191836cc7a9703e243fbeb3b4b1a2913cc;hpb=a18efdcd57ba91893f0958a457b5c58639b135c3;p=mailer.git diff --git a/inc/fix_refsystem.php b/inc/fix_refsystem.php index 44547a1918..3c9f1eec1d 100644 --- a/inc/fix_refsystem.php +++ b/inc/fix_refsystem.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * Copyright (c) 2009 - 2012 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -68,7 +68,8 @@ $result_direct = SQL_QUERY('SELECT FROM `{?_MYSQL_PREFIX?}_user_data` WHERE - `refid`=0 OR `refid` IS NULL + `refid`=0 OR + `refid` IS NULL ORDER BY `userid` ASC', __FILE__, __LINE__); @@ -77,8 +78,9 @@ if (!SQL_HASZERONUMS($result_direct)) { // When 'walk' through all users while ($content = SQL_FETCHARRAY($result_direct)) { // Update refback table - //* DEBUG: */ debugOutput('userid=' . $content['userid']); + /* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'userid=' . $content['userid'] . ' - BEFORE!'); updateReferralTable($content['userid']); + /* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'userid=' . $content['userid'] . ' - AFTER!'); } // END - while } // END - if