]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_rewrite.php
config.php partly solved, see #117
[mailer.git] / inc / modules / admin / what-config_rewrite.php
index 2f731194ef0296f1b9f12aa554faeeec555c2fdd..8c36ce73ff5e4e9ceafc3467d368e8a76a6db792 100644 (file)
@@ -57,7 +57,7 @@ if (IS_FORM_SENT()) {
        }
 
        // Implode array to string and remove posted mod array
-       REQUEST_SET_POST('rewrite_skip', implode(":", $MODs));
+       REQUEST_SET_POST('rewrite_skip', implode(':', $MODs));
        REQUEST_UNSET_POST('mod');
 
        // Save settings
@@ -68,17 +68,17 @@ if (IS_FORM_SENT()) {
        $OUT = ''; $SW = 2;
        while ($content = SQL_FETCHARRAY($result)) {
                // Set title to three dashes when no title is supplied
-               if (empty($content['title'])) $content['title'] = "---";
+               if (empty($content['title'])) $content['title'] = '---';
 
                // Already registered module?
                if (ereg($content['module'], getConfig('rewrite_skip'))) {
                        // Found
-                       $y = ' chkecked="checked"';
+                       $y = ' checked="checked"';
                        $n = '';
                } else {
                        // Not found
                        $y = '';
-                       $n = ' chkecked="checked"';
+                       $n = ' checked="checked"';
                }
 
                // Remember data in array for the dynamic row template