]> git.mxchange.org Git - mailer.git/blobdiff - inc/stylesheet.php
Flushing template cache is anoying while developing templates, now we can 'debug...
[mailer.git] / inc / stylesheet.php
index d311ef3d29bdfe42698731562a3589f88cdd7147..6e4ac65e7f71d626c6f6bfc0dccce85615b1d8bc 100644 (file)
@@ -111,7 +111,7 @@ if ((getOutputMode() == 1) || (getConfig('css_php') == 'DIRECT')) {
                // Default theme first
                $newTheme = 'default';
                if (isGetRequestElementSet('theme'))  $newTheme = getRequestElement('theme');
-               if (isPostRequestElementSet('theme')) $newTheme = SQL_ESCAPE(postRequestElement('theme'));
+               if (isPostRequestElementSet('theme')) $newTheme = secureString(postRequestElement('theme'));
                outputHtml('?theme=' . $newTheme . '&installing=1', false);
        } else {
                // Add SVN revision to bypass caching problems