Update card.php

This commit is contained in:
Laurent Destailleur 2018-05-25 11:04:04 +02:00 committed by GitHub
parent 4c3f9d6d5e
commit 0a581e48d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,7 +186,7 @@ if (empty($reshook))
$qualified_for_stock_change = $object->hasProductsOrServices(1);
}
if($object->is_erasable()) {
if ($object->is_erasable()) {
$result = $object->delete($user, 0, $idwarehouse);
if ($result > 0) {