🐛 Fix handling of theme-data

This commit is contained in:
Kazhnuz 2025-07-15 12:39:49 +02:00
parent 959c3701aa
commit cc8db166b5

View file

@ -86,7 +86,7 @@ function buildPlugins($path, $domain, $autoActivate = false)
$database = json_decode($database, true);
// Set name and description from the language file
if ($database['theme-data']) {
if (array_key_exists('theme-data', $database)) {
$Plugin->setMetadata('name',$database['theme-data']['name']);
$Plugin->setMetadata('description',$database['theme-data']['description']);
} else {