]> git.mxchange.org Git - friendica.git/commitdiff
fix Admin Theme reload
authorPhilipp Holzer <admin+github@philipp.info>
Sat, 17 Aug 2019 17:55:14 +0000 (19:55 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Sat, 17 Aug 2019 17:55:14 +0000 (19:55 +0200)
src/Module/Admin/Themes/Index.php

index 71a91919bd26e389b07ac27cce7aae17f5bcd59b..69c6419bc4af53f202ab7d396c4e09060ffe5941 100644 (file)
@@ -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');