Fix redirect per php8.1

This commit is contained in:
Pek5892 2024-04-11 12:26:12 +02:00
parent 072c2e615a
commit 9b9744b134
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ if (empty($record) || !$has_access) {
</div>';
}
redirectOperation($id_module, isset($id_parent) ? $id_parent : $id_record);
redirectOperation($id_module, !empty($id_parent) ? $id_parent : $id_record);
// Widget in basso
echo '{( "name": "widgets", "id_module": "'.$id_module.'", "id_record": "'.$id_record.'", "position": "right", "place": "editor" )}';