성벽 공격시 '국가'를 구해오는 과정에서 공백지를 고려하지 않은 부분 수정

This commit is contained in:
2018-04-12 04:16:02 +09:00
parent 6881b531d7
commit cd8ec0687f
2 changed files with 16 additions and 3 deletions
+3
View File
@@ -129,6 +129,9 @@ function getBatLogRecent(int $no, int $count) {
//DB-based
function pushNationHistory($nation, $history) {
if(!$nation || !$nation['nation']){
return;
}
DB::db()->query("UPDATE nation set history=concat(%s, history) where nation=%i",
$history.'<br>', $nation['nation']);
}