From b4d2fec82b84ec7a2720d1023c648d10d322627e Mon Sep 17 00:00:00 2001 From: Pek5892 Date: Wed, 10 Apr 2024 17:43:54 +0200 Subject: [PATCH] Fix minore --- core.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core.php b/core.php index ab5e726ea..8e5db3db8 100755 --- a/core.php +++ b/core.php @@ -248,8 +248,8 @@ if (!API\Response::isAPIRequest()) { $plugin = Plugins::getCurrent(); $structure = isset($plugin) ? $plugin : $module; - $id_module = $module ? $module['id'] : null; - $id_plugin = $plugin ? $plugin['id'] : null; + $id_module = $module ? $module->id : null; + $id_plugin = $plugin ? $plugin->id : null; $user = Auth::user();