Fix minore

This commit is contained in:
valentina 2024-09-06 12:21:57 +02:00
parent db4e0b7f13
commit f1db260a6e
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ class Modules
$extra .= !empty($blank) ? ' target="_blank"' : '';
if (!empty($module) && in_array($module->permission, ['r', 'rw'])) {
$link = !empty($id_record) ? 'editor.php?id_module='.$module['id'].'&id_record='.$id_record : 'controller.php?id_module='.$module['id'];
$link = !empty($id_record) ? 'editor.php?id_module='.$module->id.'&id_record='.$id_record : 'controller.php?id_module='.$module->id;
return '<a href="'.base_path().'/'.$link.$params.'#'.$anchor.'" '.$extra.'>'.$testo.'</a>';
} else {