불가침 서신 개월수 안보이는 문제 해결, 개월수 년으로 보이는 문제 해결

This commit is contained in:
2018-04-17 21:35:13 +09:00
parent 067df49914
commit b2096cc274
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -83,8 +83,8 @@ class DiplomaticMessage extends Message{
return $chk;
}
$youlog[] = "<C>●</><D><b>{$this->dest->nationName}</b></>(와)과 <C>$when</>년 불가침에 성공했습니다.";
$mylog[] = "<C>●</><D><b>{$this->src->nationName}</b></>(와)과 <C>$when</>년 불가침에 합의했습니다.";
$youlog[] = "<C>●</><D><b>{$this->dest->nationName}</b></>(와)과 <C>$helper->year</>년 불가침에 성공했습니다.";
$mylog[] = "<C>●</><D><b>{$this->src->nationName}</b></>(와)과 <C>$helper->year</>년 불가침에 합의했습니다.";
pushGenLog(['no'=>$this->dest->generalID], $mylog);
pushGenLog(['no'=>$this->src->generalID], $youlog);
pushGeneralHistory(['no'=>$this->src->generalID], "<C>●</>{$helper->year}{$helper->month}월:<D><b>{$this->dest->nationName}</b></>(와)과 {$when}년 불가침 성공");
+1 -1
View File
@@ -282,7 +282,7 @@ class Diplomacy{
$db = DB::db();
$db->update('diplomacy',[
'state'=>7,
'term'=>$when,
'term'=>$when*12,
'fixed'=>$option
],
'(me=%i AND you=%i) OR (you=%i AND me=%i)',