Fix: Redirect after delete to correct page

This commit is contained in:
Laurent Destailleur 2012-07-25 15:03:06 +02:00
parent 126979efe1
commit 105e91dfea

View File

@ -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