Update card.php
This commit is contained in:
parent
4c3f9d6d5e
commit
0a581e48d4
@ -186,7 +186,7 @@ if (empty($reshook))
|
|||||||
$qualified_for_stock_change = $object->hasProductsOrServices(1);
|
$qualified_for_stock_change = $object->hasProductsOrServices(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if($object->is_erasable()) {
|
if ($object->is_erasable()) {
|
||||||
|
|
||||||
$result = $object->delete($user, 0, $idwarehouse);
|
$result = $object->delete($user, 0, $idwarehouse);
|
||||||
if ($result > 0) {
|
if ($result > 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user