Update shipment.php

This commit is contained in:
Frédéric FRANCE 2015-10-20 10:33:46 +02:00
parent a0fe65266a
commit 2cb9dd8bf3

View File

@ -128,6 +128,8 @@ if ($action == 'setwarehouse' && $user->rights->commande->creer) {
$commande = new Commande($db);
$commande->fetch($id);
$result = $commande->setWarehouse(GETPOST('warehouse_id', 'int'));
if ($result < 0)
setEventMessages($commande->error, $commande->errors, 'errors');
}