Merge pull request #6152 from jpfox/develop

FIX cancelling order line modification returned to list instead of card
This commit is contained in:
Juanjo Menent 2016-12-11 15:00:37 +01:00 committed by GitHub
commit 5233c65aba

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