diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index da8260bc..2a4cac58 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -1857,10 +1857,10 @@ class ShopController extends BaseAuthedController } $propertyChgService = new services\PropertyChgService(); if ($item['item_type'] == 2) { - $this->internalAddItem($propertyChgService, $itemMeta, $item['num'], 1, $grade); + $this->internalAddItem($propertyChgService, $itemMeta, $item['num'], 0, $grade); } else { for ($j = 0; $j < $item['num']; $j++) { - $this->internalAddItem($propertyChgService, $itemMeta, 1, 1, $grade); + $this->internalAddItem($propertyChgService, $itemMeta, 1, 0, $grade); } } $record[$key] = array("item_id" => $item['item_id'], "item_num" => $item['num']);