diff --git a/modules/system/classes/UpdateManager.php b/modules/system/classes/UpdateManager.php index 89197c48e..b1425d14a 100644 --- a/modules/system/classes/UpdateManager.php +++ b/modules/system/classes/UpdateManager.php @@ -470,6 +470,7 @@ class UpdateManager if (!Zip::extract($filePath, $this->baseDirectory . '/themes/')) throw new ApplicationException(Lang::get('system::lang.zip.extract_failed', ['file' => $filePath])); + $this->setThemeInstalled($name); @unlink($filePath); }