- while ($content = merge_array($content, SQL_FETCHARRAY($result_main))) {
- // Ok, add points to used points and send an email to him...
+ while ($row = SQL_FETCHARRAY($result_main)) {
+ // Merge both arrays
+ $content = merge_array($content, $row);
+
+ // Ok, add points to used points, send an email to him and ignore return status