]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-optimize.php
A lot naming conventions applied, TODOs.txt updated
[mailer.git] / inc / modules / admin / what-optimize.php
index 2f73c933e6c23f1b352439f277155cd11bb81515..68724755f3202aaada2765cd1899c5c1eb575e00 100644 (file)
@@ -58,7 +58,7 @@ foreach ($DATA['tables'] as $row_array) {
        if (empty($row_array[1])) $row_array[1] = 'NONE';
 
        // Get optimization status
-       $REP = '{--OPTIMIZE_STATUS_' . strtoupper($row_array[1]) . '--}';
+       $REP = '{--OPTIMIZE_STATUS_' . str_replace('__', '_', str_replace(',', '', str_replace('+', '', str_replace("'", '', str_replace(' ', '_', strtoupper($row_array[1])))))) . '--}';
 
        $OPT = '{--OPTIMIZE_STATUS_UNSUPPORTED--}';