X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Flibs%2Foptimize_functions.php;h=d8d044628b62d5c0ce0ad7c623e6e27783e49fa8;hb=ec9f020e34a9f2029a2ea0969564dda015beca8a;hp=66ec22b6322ddba1e5cd8f5ebe285f02acf71e45;hpb=c8d76610eb94093d4eed4fcd8a6cb72e74c8f6d8;p=mailer.git diff --git a/inc/libs/optimize_functions.php b/inc/libs/optimize_functions.php index 66ec22b632..d8d044628b 100644 --- a/inc/libs/optimize_functions.php +++ b/inc/libs/optimize_functions.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -58,7 +58,7 @@ function repairOptimizeDatabase () { $ret['tables'] = array(); // Do we have entries? - if (SQL_NUMROWS($result) > 0) { + if (!SQL_HASZERONUMS($result)) { // Fetch all rows while ($row = SQL_FETCHARRAY($result)) { $tot_data = $row['Data_length'];