]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/theme_functions.php
Complete rewrite of and , wrapper functions added, see bug #101
[mailer.git] / inc / libs / theme_functions.php
index 2dfcac22cb3b7e0e562b58950458878519f64e9a..58c866dc7ffc47b8c8e7ca03fc3cf199934c9033 100644 (file)
@@ -194,9 +194,9 @@ function GET_CURR_THEME_NAME () {
 $GLOBALS['curr_theme'] = GET_CURR_THEME();
 
 // Check if new theme is selcted
-if ((!empty($_POST['new_theme'])) && ($_POST['new_theme'] != $GLOBALS['curr_theme'])) {
+if ((REQUEST_ISSET_POST(('new_theme'))) && (REQUEST_POST('new_theme') != $GLOBALS['curr_theme'])) {
        // Set new theme for guests
-       $newTheme = $_POST['new_theme'];
+       $newTheme = REQUEST_POST('new_theme');
 
        // Change to new theme
        set_session('mxchange_theme', $newTheme);