diff --git a/port.php b/port.php index 441b90e3..b010f356 100644 --- a/port.php +++ b/port.php @@ -181,7 +181,7 @@ $stmt->execute(); $ownerinfo = $stmt->fetch(PDO::FETCH_ASSOC); - if (($playerinfo['ship_id'] != $zoneinfo['owner']) && $playerinfo['team'] == 0 || ($playerinfo['team'] != $ownerinfo['team'])) + if (($playerinfo['ship_id'] != $zoneinfo['owner'] && $playerinfo['team'] == 0) || ($playerinfo['team'] != $ownerinfo['team'])) { // Translation needed $title = "Trade forbidden";