fix Admin Theme reload

This commit is contained in:
Philipp Holzer 2019-08-17 19:55:14 +02:00
parent e8561b480b
commit 7e82f8dc2e
No known key found for this signature in database
GPG Key ID: D8365C3D36B77D90
1 changed files with 2 additions and 2 deletions

View 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');