Fix syntax error

This commit is contained in:
Laurent Destailleur 2019-05-20 12:50:00 +02:00
parent 827a2e1809
commit 91dd8a71d3

View File

@ -588,7 +588,7 @@ if (empty($reshook))
$qualified_for_stock_change = $object->hasProductsOrServices(1); $qualified_for_stock_change = $object->hasProductsOrServices(1);
} }
if ($qualified_for_stock_change)) if ($qualified_for_stock_change)
{ {
if (! $idwarehouse || $idwarehouse == - 1) { if (! $idwarehouse || $idwarehouse == - 1) {
$error++; $error++;