* $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 *
$ret['total_tabs'] = SQL_NUMROWS($result);
$ret['tables'] = array();
- // Do we have entries?
+ // Are there entries?
if (!SQL_HASZERONUMS($result)) {
// Fetch all rows
while ($row = SQL_FETCHARRAY($result)) {
$opt = SQL_FETCHARRAY($result1);
// Add data to array
- $ret['tables'][] = array($row['Name'], $opt['Msg_text'], $rep['Msg_text'], $total, $gain);
+ array_push($ret['tables'], array($row['Name'], $opt['Msg_text'], $rep['Msg_text'], $total, $gain));
// Count total table data
$ret['total_size'] += $total;