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; }