1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-27 00:06:14 +01:00

Revert "Fix minore"

This reverts commit acb0a5da1d.
This commit is contained in:
Pek5892 2024-03-06 12:48:51 +01:00
parent acb0a5da1d
commit 77bf9dd235

View File

@ -327,8 +327,7 @@ class Modules
}
$link = (!empty($element['option']) && $element['option'] != 'menu') ? base_path().'/controller.php?id_module='.$element['id'] : 'javascript:;';
$module = Module::find($element['id']);
$title = $module->name ?? $module->title;
$title = $element['title'];
$target = '_self'; // $target = ($element['new'] == 1) ? '_blank' : '_self';
$active = ($actual == $title);
$show = (self::getPermission($element['id']) != '-' && !empty($element['enabled'])) ? true : false;