From f74d2a2fdccface0c9f3abbfeb049ffe6d34ecdb Mon Sep 17 00:00:00 2001 From: Dedushka Date: Mon, 18 Jan 2021 22:32:20 -0500 Subject: [PATCH] Fix minor bug that disallows deletion of 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 4a2afc73..9319a98c 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -3219,7 +3219,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']); }