부대 편성 버그 수정
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ if($action == '부대추방'){
|
||||
|
||||
$db->update('general', [
|
||||
'troop'=>0
|
||||
], 'no=%i AND troop=(SELECT troop FROM troop WHERE troop_leader = %i)', $gen, $generalID);
|
||||
], 'no=%i AND troop_leader = %i', $gen, $generalID);
|
||||
|
||||
if($db->affectedRows() == 0){
|
||||
Json::die([
|
||||
|
||||
Reference in New Issue
Block a user