From 57732bdff5afa169d132af6bd08879428edfe32c Mon Sep 17 00:00:00 2001 From: KekuKin Date: Thu, 30 Mar 2017 00:58:11 +0200 Subject: [PATCH] Fixed uninstall error for themes. Was receiving uninstall errors: undefined index: theme --- 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 c3e98af5..9167cfa0 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -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']); }