Skip to content
Snippets Groups Projects
Commit 4ddfa6e1 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #3956 from frederic34/patch-3

Update product.php
parents a0606cec 2799dbf4
No related branches found
No related tags found
No related merge requests found
......@@ -174,7 +174,7 @@ if ($action == "correct_stock" && ! $cancel)
}
else
{
setEventMessage($object->error,'errors');
setEventMessages($object->error, $object->errors, 'errors');
$action='correction';
}
}
......@@ -198,7 +198,7 @@ if ($action == "transfert_stock" && ! $cancel)
}
if (GETPOST("id_entrepot_source",'int') == GETPOST("id_entrepot_destination",'int'))
{
setEventMessage($langs->trans("ErrorSrcAndTargetWarehouseMustDiffers"), 'errors');
setEventMessages($langs->trans("ErrorSrcAndTargetWarehouseMustDiffers"), null, 'errors');
$error++;
$action='transfert';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment