Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / libs / optimize_functions.php
index 64308e7..07b24ef 100644 (file)
@@ -58,7 +58,7 @@ function repairOptimizeDatabase () {
        $ret['tables'] = array();
 
        // Are there entries?
-       if (!ifSqlHasZeroNums($result)) {
+       if (!ifSqlHasZeroNumRows($result)) {
                // Fetch all rows
                while ($row = sqlFetchArray($result)) {
                        $tot_data = $row['Data_length'];