1
This commit is contained in:
parent
cb09e4497f
commit
ec0ea9bb92
@ -111,7 +111,7 @@ class TempToolsController extends BaseController {
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
foreach ($accounts as &$account) {
|
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',
|
'SELECT MAX(hero_lv) AS max_hero_lv FROM t_hero WHERE account_id=:account_id',
|
||||||
array(
|
array(
|
||||||
':account_id' => $account['account_id'],
|
':account_id' => $account['account_id'],
|
||||||
@ -122,7 +122,7 @@ class TempToolsController extends BaseController {
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
foreach ($accounts as &$account) {
|
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',
|
'SELECT MAX(quality) AS max_hero_quality FROM t_hero WHERE account_id=:account_id',
|
||||||
array(
|
array(
|
||||||
':account_id' => $account['account_id'],
|
':account_id' => $account['account_id'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user