1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-27 00:06:14 +01:00
This commit is contained in:
Pek5892 2023-01-31 17:48:17 +01:00
parent e0a2a9bd5a
commit 1077ad31d7

View File

@ -41,9 +41,13 @@ switch (filter('op')) {
}
// Redirect alla categoria se si sta modificando una sottocategoria
$database->commitTransaction();
redirect(base_path().'/editor.php?id_module='.$id_module.'&id_record='.($id_original ?: $id_record));
exit();
if($id_original != null) {
$database->commitTransaction();
redirect(base_path().'/editor.php?id_module='.$id_module.'&id_record='.($id_original ?: $id_record));
exit();
}
break;
case 'add':