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'],