1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-12 01:50:48 +01:00

Fixed uninstall error for themes.

Was receiving uninstall errors: undefined index: theme
This commit is contained in:
KekuKin 2017-03-30 00:58:11 +02:00 committed by GitHub
parent f139b34c4a
commit 57732bdff5

View File

@ -2634,7 +2634,7 @@ function mod_theme_uninstall($theme_name) {
// Clean cache
Cache::delete("themes");
Cache::delete("theme_settings_".$theme);
Cache::delete("theme_settings_".$theme_name);
header('Location: ?/themes', true, $config['redirect_http']);
}