From ec0ea9bb92d0f670f70ab56b4dfbeab1398e913b Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 1 Jul 2022 14:34:24 +0800 Subject: [PATCH] 1 --- webapp/controller/TempToolsController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/controller/TempToolsController.class.php b/webapp/controller/TempToolsController.class.php index 0072da54..d6bcf3c9 100644 --- a/webapp/controller/TempToolsController.class.php +++ b/webapp/controller/TempToolsController.class.php @@ -111,7 +111,7 @@ class TempToolsController extends BaseController { } { foreach ($accounts as &$account) { - $row = $conn->execQuery( + $row = $conn->execQueryOne( 'SELECT MAX(hero_lv) AS max_hero_lv FROM t_hero WHERE account_id=:account_id', array( ':account_id' => $account['account_id'], @@ -122,7 +122,7 @@ class TempToolsController extends BaseController { } { foreach ($accounts as &$account) { - $row = $conn->execQuery( + $row = $conn->execQueryOne( 'SELECT MAX(quality) AS max_hero_quality FROM t_hero WHERE account_id=:account_id', array( ':account_id' => $account['account_id'],