From ff2f04c8c4ae8f6d4a8509a7e0aa970de6fa3cb5 Mon Sep 17 00:00:00 2001 From: songliang Date: Thu, 13 Jul 2023 11:00:31 +0800 Subject: [PATCH] ... --- webapp/controller/ShopController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 386636b7..6751e282 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -1794,7 +1794,7 @@ class ShopController extends BaseAuthedController return $costItems; } - private function internalAddItem($propertyChgService, $itemMeta, $count, $sysAdd, $grade) + private function internalAddItem($propertyChgService, $itemMeta, $count, $sysAdd, $grade = null) { switch ($itemMeta['type']) { case mt\Item::HERO_TYPE: {