mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Fix minore
This commit is contained in:
4
core.php
4
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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user