diff --git a/app/admin/logic/store_product/StoreProductLogic.php b/app/admin/logic/store_product/StoreProductLogic.php index a559210e..a0ab807f 100644 --- a/app/admin/logic/store_product/StoreProductLogic.php +++ b/app/admin/logic/store_product/StoreProductLogic.php @@ -447,7 +447,7 @@ class StoreProductLogic extends BaseLogic ]; StoreBranchProductAttrValue::create($arr); if ($product_arr['stock'] > 0) { - self::storage($find, $store_id, $admin_id, $product_arr,$warehouse_id); + self::storage($find, $store_id, $admin_id, $product_arr,1,$warehouse_id); } Db::commit(); return true;