X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Foptimize_functions.php;h=e3e1f829729b39a1d0d4b8c4318c18b9883131da;hb=1bacd30abeb24cbdff3f2f220c047444cf034f7c;hp=d8d044628b62d5c0ce0ad7c623e6e27783e49fa8;hpb=c3b4eaf29946349ff058691db2dcb615a5379bb2;p=mailer.git diff --git a/inc/libs/optimize_functions.php b/inc/libs/optimize_functions.php index d8d044628b..e3e1f82972 100644 --- a/inc/libs/optimize_functions.php +++ b/inc/libs/optimize_functions.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 * @@ -57,7 +57,7 @@ function repairOptimizeDatabase () { $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)) { @@ -82,7 +82,7 @@ function repairOptimizeDatabase () { $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;