From 5ab7fa74226db15231bdb92aa3315ef735ccb502 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 5 Dec 2017 15:48:24 +0100 Subject: [PATCH] Fix location on good page --- htdocs/compta/facture/fiche-rec.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/compta/facture/fiche-rec.php b/htdocs/compta/facture/fiche-rec.php index 041007bfb4a..ddaf073e964 100644 --- a/htdocs/compta/facture/fiche-rec.php +++ b/htdocs/compta/facture/fiche-rec.php @@ -288,7 +288,8 @@ if (empty($reshook)) if ($action == 'confirm_deleteinvoice' && $confirm == 'yes' && $user->rights->facture->supprimer) { $object->delete($user); - header("Location: " . $_SERVER['PHP_SELF'] ); + + header("Location: " . DOL_URL_ROOT.'/compta/facture/invoicetemplate_list.php'); exit; }