🐛 Fix handling of theme-data
This commit is contained in:
parent
959c3701aa
commit
cc8db166b5
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ function buildPlugins($path, $domain, $autoActivate = false)
|
||||||
$database = json_decode($database, true);
|
$database = json_decode($database, true);
|
||||||
|
|
||||||
// Set name and description from the language file
|
// 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('name',$database['theme-data']['name']);
|
||||||
$Plugin->setMetadata('description',$database['theme-data']['description']);
|
$Plugin->setMetadata('description',$database['theme-data']['description']);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue