feat: 국방 설정 시, 작성자와 작성 일시를 기록

This commit is contained in:
2022-08-26 00:34:15 +09:00
parent a5e481af96
commit 0bf568a655
4 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -1142,7 +1142,7 @@ function checkEmperior()
$nation = $nation;
$nation['generals'] = $db->queryFirstColumn('SELECT `no` FROM general WHERE nation=%i', $nation['nation']);
$nation['aux'] = Json::decode($nation['aux']);
$nation['msg'] = $nationStor->notice;
$nation['msg'] = $nationStor->nationNotice['msg'] ?? '';;
$nation['scout_msg'] = $nationStor->scout_msg;
$nation['aux'] += $nationStor->max_power;
$nation['history'] = getNationHistoryLogAll($nation['nation']);