X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-theme_edit.php;h=58899f1cdd1e88ba771d13a8f9af14c5fc07da8b;hb=ab92fb7241d00636b0eb940f147449758820cba1;hp=47d341b66f8237e8bb610b3a73f3462dbf4daa69;hpb=d508f875d53a7b2e75f02e66b37be3cf30451276;p=mailer.git diff --git a/inc/modules/admin/what-theme_edit.php b/inc/modules/admin/what-theme_edit.php index 47d341b66f..58899f1cdd 100644 --- a/inc/modules/admin/what-theme_edit.php +++ b/inc/modules/admin/what-theme_edit.php @@ -87,7 +87,7 @@ if ($SEL > 0) { // Set it in config and current theme as well global $currTheme; $currTheme = $POST['default_theme']; - $_CONFIG['default_theme'] = $POST['default_theme']; + setConfigEntry('default_theme', $POST['default_theme']); // Save theme ADMIN_SAVE_SETTINGS($POST); @@ -111,7 +111,7 @@ if (SQL_NUMROWS($result) > 0) { // Is the loaded theme name != current theme name? $LINK = $unix; - if ($unix != GET_CURR_THEME()) $LINK = "".$unix.""; + if ($unix != GET_CURR_THEME()) $LINK = "".$unix.""; // Prepare data for the row template $content = array(