This commit is contained in:
罗松柏 2021-03-04 18:29:01 +08:00
commit 7b3962308b

View File

@ -337,7 +337,7 @@ if ($act == 'newevent') {
$gameName = $rs['game']; $gameName = $rs['game'];
$yanqi_history = json_decode($rs['yanqi_history'],true); $yanqi_history = json_decode($rs['yanqi_history'],true);
$isYanqi = $yanqi_history?end($yanqi_history)['isYanqi']:0; $isYanqi = $yanqi_history?$yanqi_history[0]['isYanqi']:0;
$row = array( $row = array(
'id' => $rs['id'], 'id' => $rs['id'],