Skip to content

Commit

Permalink
Clarify parenthesis/logic better
Browse files Browse the repository at this point in the history
  • Loading branch information
thekabal committed Sep 21, 2021
1 parent d40188d commit 31803b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion port.php
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 31803b0

Please sign in to comment.