Fix: Redirect after delete to correct page
This commit is contained in:
parent
126979efe1
commit
105e91dfea
@ -160,7 +160,7 @@ else if ($action == 'confirm_delete' && $confirm == 'yes' && $user->rights->fact
|
||||
$result = $object->delete();
|
||||
if ($result > 0)
|
||||
{
|
||||
Header('Location: '.$_SERVER["PHP_SELF"]);
|
||||
Header('Location: '.DOL_URL_ROOT.'/compta/facture/list.php');
|
||||
exit;
|
||||
}
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user