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

This commit is contained in:
Hide_D committed 2018-04-12 04:16:02 +09:00
1 parent 6881b531d7
commit cd8ec0687f
2 files changed
+16 -3

No files matched your search

+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']);
}