X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-theme_edit.php;h=13ffa2322146880670c30fa8a3a8e5abdad87572;hp=eb590f73c768eb135540e173801478b686fd15df;hb=d016e24dd4686f613a17733b96bc28fac936a4ac;hpb=5ae157f2010b3aae3c6f2ecdc6ec7c30b305be4a;ds=sidebyside diff --git a/inc/modules/admin/what-theme_edit.php b/inc/modules/admin/what-theme_edit.php index eb590f73c7..13ffa23221 100644 --- a/inc/modules/admin/what-theme_edit.php +++ b/inc/modules/admin/what-theme_edit.php @@ -85,8 +85,7 @@ if ($SEL > 0) { set_session('mxchange_theme', $POST['default_theme']); // Set it in config and current theme as well - global $currTheme; - $currTheme = $POST['default_theme']; + $GLOBALS['curr_theme'] = $POST['default_theme']; setConfigEntry('default_theme', $POST['default_theme']); // Save theme