diff --git a/bl-kernel/boot/rules/60.plugins.php b/bl-kernel/boot/rules/60.plugins.php index e2c06314..1a039be0 100644 --- a/bl-kernel/boot/rules/60.plugins.php +++ b/bl-kernel/boot/rules/60.plugins.php @@ -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 {