summaryrefslogtreecommitdiff
path: root/inc/mod
diff options
context:
space:
mode:
authorBenjamin Southall <applemansigloo@gmail.com>2017-06-08 08:09:10 +0900
committerBenjamin Southall <applemansigloo@gmail.com>2017-06-08 08:09:10 +0900
commit13f856189b855023e39dbc32aac9bcb5d7cbf59f (patch)
tree6beb25b75bcf480a6bd4555656443179b6b97680 /inc/mod
parent986efe8980de233d83e651dc747667be0a357099 (diff)
Merge pull request from vichan-devel/vichan#220 from kekukin/patch-1 Fixed uninstall error for themes.
Diffstat (limited to 'inc/mod')
-rw-r--r--inc/mod/pages.php2
1 files changed, 1 insertions, 1 deletions
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']);
}