X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fgen_refback.php;h=51f01e2622ea480ace3559d799defb991bc10e1d;hb=7e17864b7d07fb5123b1b1d68f83db28ea5394ef;hp=e9073dae38dc1f1b8727db6b75928c26b0139ad0;hpb=09f5758c42a33a56bdd461c946ffe759a59c54aa;p=mailer.git diff --git a/inc/gen_refback.php b/inc/gen_refback.php index e9073dae38..51f01e2622 100644 --- a/inc/gen_refback.php +++ b/inc/gen_refback.php @@ -68,10 +68,14 @@ SQL_FREERESULT($result); SQL_QUERY('TRUNCATE TABLE `{?_MYSQL_PREFIX?}_user_refs`', __FILE__, __LINE__); // Begin with all users in level one -$result_direct = SQL_QUERY('SELECT u.userid -FROM `{?_MYSQL_PREFIX?}_user_data` AS u -WHERE u.refid=0 -ORDER BY u.userid ASC', __FILE__, __LINE__); +$result_direct = SQL_QUERY('SELECT + u.userid +FROM + `{?_MYSQL_PREFIX?}_user_data` AS u +WHERE + u.refid=0 +ORDER BY + u.userid ASC', __FILE__, __LINE__); // Do we have entries? if (SQL_NUMROWS($result_direct) > 0) { @@ -81,7 +85,7 @@ if (SQL_NUMROWS($result_direct) > 0) { $GLOBALS['refback_level'] = 1; // Update refback table - //* DEBUG: */ outputHtml("userid={$content['userid']}
"); + //* DEBUG: */ debugOutput('userid=' . $content['userid']); updateRefbackTable($content['userid']); } // END - while } // END - if @@ -89,5 +93,5 @@ if (SQL_NUMROWS($result_direct) > 0) { // Free result SQL_FREERESULT($result_direct); -// +// [EOF] ?>