mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-27 00:06:14 +01:00
Fix #1164
This commit is contained in:
parent
e0a2a9bd5a
commit
1077ad31d7
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user