버그 수정
This commit is contained in:
@@ -53,9 +53,9 @@ class AllowDiplomacyStatus extends Constraint{
|
|||||||
$db = DB::db();
|
$db = DB::db();
|
||||||
|
|
||||||
$state = $db->queryFirstField(
|
$state = $db->queryFirstField(
|
||||||
'SELECT state FROM diplomacy WHERE me = %i AND `state` IN %li LIMIT 1',
|
'SELECT state FROM diplomacy WHERE me = %i AND `state` NOT IN %li LIMIT 1',
|
||||||
$this->nationID,
|
$this->nationID,
|
||||||
array_keys($this->allowStatus)
|
$this->allowStatus
|
||||||
);
|
);
|
||||||
if($state !== null){
|
if($state !== null){
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user