Update src/Core/Addon.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Philipp 2023-01-04 23:12:41 +01:00 committed by GitHub
parent 01403d15c4
commit 4b17d6f3bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -170,7 +170,7 @@ class Addon
$func(DI::app());
}
DI::config()->set('addons', $addon,[
DI::config()->set('addons', $addon, [
'last_update' => $t,
'admin' => function_exists($addon . '_addon_admin'),
]);