From 13f856189b855023e39dbc32aac9bcb5d7cbf59f Mon Sep 17 00:00:00 2001 From: Benjamin Southall Date: Thu, 8 Jun 2017 08:09:10 +0900 Subject: [PATCH] Merge pull request from vichan-devel/vichan#220 from kekukin/patch-1 Fixed uninstall error for themes. --- inc/mod/pages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 1c93991c..b822f48c 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -3073,7 +3073,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']); }