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