X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Frallye_functions.php;h=0744b6b32c535c3083d4084007623ebc4d669a5a;hb=739139fb13eae88204e355202bffe20ee5fc7d40;hp=5526567afe1615b3510e381820f45065b1963dfb;hpb=09f5758c42a33a56bdd461c946ffe759a59c54aa;p=mailer.git diff --git a/inc/libs/rallye_functions.php b/inc/libs/rallye_functions.php index 5526567afe..0744b6b32c 100644 --- a/inc/libs/rallye_functions.php +++ b/inc/libs/rallye_functions.php @@ -73,7 +73,10 @@ function autostartReferalRallyes ($result) { $result_user = SQL_QUERY("SELECT `userid` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `status`='CONFIRMED' ORDER BY `userid` ASC", __FUNCTION__, __LINE__); // Let's begin with the userids... - while ($content = merge_array($content, SQL_FETCHARRAY($result_user))) { + while ($row = SQL_FETCHARRAY($result_user)) { + // Merge both arrays + $content = merge_array($content, $row); + $un = false; // Get refs by userid