diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 6e858833..c5ccdd61 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -470,7 +470,7 @@ class ShopController extends BaseAuthedController { private function getInAppBalance() { $recordDb = InAppRecord::get(); - $upLimit = mt\Parameter::getVal('inapp_up_limit', 0); + $upLimit = mt\Parameter::getVal('inapp_daily_up_limit', 0); $todayAmount = 0; if ($recordDb) { $todayAmount = max($recordDb['amount'], $recordDb['amount_ok']);