From 80346322cf242514f6baafe13e1757e559ded597 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 9 Jul 2024 20:16:19 +0800 Subject: [PATCH] 1 --- webapp/controller/TempToolsController.class.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/webapp/controller/TempToolsController.class.php b/webapp/controller/TempToolsController.class.php index e5edbd61..3ef27692 100644 --- a/webapp/controller/TempToolsController.class.php +++ b/webapp/controller/TempToolsController.class.php @@ -761,17 +761,15 @@ EOD; private function doReturn($gameDbConn, $row) { - echo json_encode($row); - return; { - $row = SqlHelper::ormSelectOne( + $tmpRow = SqlHelper::ormSelectOne( $gameDbConn, 't_gold_bullion_return', array( 'account_id' => $row['src_account_id'], ) ); - if (!empty($row)) { + if (!empty($tmpRow)) { return; } }