X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffix_user_points.php;h=47b00fa51af7e835a3818b460cf2776a749aa2fb;hb=d8dfab4ceb65e9c277633100c2bb0e6a152fbd57;hp=addaae100c6c3931adc406130d6ca87d8f714e15;hpb=cffc3078d15f86c96a8d03434e94ac3184d2ad3f;p=mailer.git diff --git a/inc/fix_user_points.php b/inc/fix_user_points.php index addaae100c..47b00fa51a 100644 --- a/inc/fix_user_points.php +++ b/inc/fix_user_points.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * 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 * * it under the terms of the GNU General Public License as published by * @@ -54,7 +54,7 @@ WHERE ORDER BY `userid` ASC', __FILE__, __LINE__); -// Do we have entries? (we should have!) +// Are there entries? (there should be!) if (!SQL_HASZERONUMS($result)) { // Load row by row while ($row = SQL_FETCHARRAY($result)) { @@ -74,7 +74,7 @@ if (!SQL_HASZERONUMS($result)) { // Nothing has been updated? if (SQL_HASZEROAFFECTED()) { // Then insert it - SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_points` (`userid`,`ref_depth`,`%s`) VALUES(%s,NULL,%s)", + SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_points` (`userid`, `ref_depth`, `%s`) VALUES (%s,NULL,%s)", array( $column, $row['userid'],