More EL code, security for $_POST elements rewritten (simplified):
[mailer.git] / inc / libs / theme_functions.php
index 976d45acc50f6eb6367212a7231f1f40dfd39550..58d1fec2c24e0f9c9180e0dcf84dd6abeced686a 100644 (file)
@@ -248,9 +248,9 @@ function getActualTheme () {
                if ((isGetRequestParameterSet('theme')) && (isIncludeReadable($theme))) {
                        // Set cookie from URL data
                        setTheme(getRequestParameter('theme'));
-               } elseif (isIncludeReadable(sprintf("theme/%s/theme.php", secureString(postRequestParameter('theme'))))) {
+               } elseif (isIncludeReadable(sprintf("theme/%s/theme.php", postRequestParameter('theme')))) {
                        // Set cookie from posted data
-                       setTheme(secureString(postRequestParameter('theme')));
+                       setTheme(postRequestParameter('theme'));
                }
 
                // Set return value