From cc8db166b52ebd0f338c43b4c4dd276f047233ad Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Tue, 15 Jul 2025 12:39:49 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20handling=20of=20theme-data?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bl-kernel/boot/rules/60.plugins.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {