From: Philipp Holzer Date: Sat, 17 Aug 2019 17:55:14 +0000 (+0200) Subject: fix Admin Theme reload X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7e82f8dc2e43b71a539705f414adc0e30b20e77e;p=friendica.git fix Admin Theme reload --- diff --git a/src/Module/Admin/Themes/Index.php b/src/Module/Admin/Themes/Index.php index 71a91919bd..69c6419bc4 100644 --- a/src/Module/Admin/Themes/Index.php +++ b/src/Module/Admin/Themes/Index.php @@ -26,8 +26,8 @@ class Index extends BaseAdminModule switch ($_GET['action']) { case 'reload': foreach ($allowed_themes as $theme) { - Theme::uninstall($theme['name']); - Theme::install($theme['name']); + Theme::uninstall($theme); + Theme::install($theme); } info('Themes reloaded');