Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / modules / admin / what-optimize.php
index 622a148e8969431ddbf9ff6ea39e08ec2060534f..d462c8a021ca97f75eb352e88c3041100c3b6630 100644 (file)
@@ -48,7 +48,7 @@ addMenuDescription('admin', __FILE__);
 $DATA = repairOptimizeDatabase();
 
 // Output rows
-$SW = 2; $gain_tabs = 0; $OUT = '';
+$SW = 2; $gain_tabs = '0'; $OUT = '';
 foreach ($DATA['tables'] as $row_array) {
        // Init variables
        $B1 = ''; $B2 = '';
@@ -65,7 +65,7 @@ foreach ($DATA['tables'] as $row_array) {
                $OPT = getMessage('OPTIMIZE_STATUS_OPTIMIZED');
                $B1 = '<strong>'; $B2 = '<strong>';
                $gain_tabs++;
-       } elseif (count(explode(' ', $row_array[2])) == 0) {
+       } elseif (count(explode(' ', $row_array[2])) == '0') {
                $OPT = getMessage('OPTIMIZE_STATUS_' . strtoupper($row_array[2]).'');
        }