Fix location on good page
This commit is contained in:
parent
3a9bf455e2
commit
5ab7fa7422
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue