X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffunctions.php;h=8c8d7e15bdba31c04a8f5f8a73e2b16f948daea6;hp=12d38f394d37a61351d89f82ff7e7706e95cd0b3;hb=eeee0af1c4bb14b8438e2bfcb62dc14eb8f8fa5e;hpb=40f9db8455fb28cfe328e26142d8f990919610d7 diff --git a/inc/functions.php b/inc/functions.php index 12d38f394d..8c8d7e15bd 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -2370,14 +2370,14 @@ function GET_CURR_THEME() { // Fix it to default $ret = "default"; } // END - if - } elseif ((!isInstalled()) && ((isInstalling()) || ($GLOBALS['output_mode'] == true)) && ((REQUEST_ISSET_GET(('theme'))) || (REQUEST_ISSET_POST(('theme'))))) { + } elseif ((!isInstalled()) && ((isInstalling()) || ($GLOBALS['output_mode'] == true)) && ((REQUEST_ISSET_GET('theme')) || (REQUEST_ISSET_POST('theme')))) { // Prepare FQFN for checking - $theme = sprintf("%stheme/%s/theme.php", constant('PATH'), REQUEST_GET(('theme'))); + $theme = sprintf("%stheme/%s/theme.php", constant('PATH'), REQUEST_GET('theme')); // Installation mode active - if ((REQUEST_ISSET_GET(('theme'))) && (FILE_READABLE($theme))) { + if ((REQUEST_ISSET_GET('theme')) && (FILE_READABLE($theme))) { // Set cookie from URL data - set_session('mxchange_theme', REQUEST_GET(('theme'))); + set_session('mxchange_theme', REQUEST_GET('theme')); } elseif (FILE_READABLE(sprintf("%stheme/%s/theme.php", constant('PATH'), SQL_ESCAPE(REQUEST_POST('theme'))))) { // Set cookie from posted data set_session('mxchange_theme', SQL_ESCAPE(REQUEST_POST('theme')));