Fix location on good page

This commit is contained in:
Laurent Destailleur 2017-12-05 15:48:24 +01:00
parent 3a9bf455e2
commit 5ab7fa7422

View File

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