From 105e91dfea07126ec5481507eef78dd78e783113 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 25 Jul 2012 15:03:06 +0200 Subject: [PATCH] Fix: Redirect after delete to correct page --- htdocs/compta/facture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 917d2d8f227..6ecbb4c5b80 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -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