FIX cancelling order line modification returned to list instead of card

This commit is contained in:
Jean-Pierre Morfin 2016-12-11 14:32:27 +01:00
parent a4e424ee0e
commit 4a39c79d56

View File

@ -111,7 +111,7 @@ if (empty($reshook))
{
if ($cancel)
{
if ($action != 'addlink')
if ($action != 'addlink' && $action != 'updateline')
{
$urltogo=$backtopage?$backtopage:dol_buildpath('/commande/list.php',1);
header("Location: ".$urltogo);