Skip to content

Commit

Permalink
Fix ambiguous column error
Browse files Browse the repository at this point in the history
excusedmissedturns is not ambiguous in specific cases of game search, adding alias to it.
  • Loading branch information
jmo1121109 committed May 5, 2019
1 parent 58e00e8 commit 47d2b12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gamesearch/searchItemSettings.php
Expand Up @@ -540,7 +540,7 @@ function sql(&$TABLES,&$WHERE,&$ORDER)
{
$unchecked = $this->invertedChecks();
foreach($unchecked as $uncheck)
$WHERE[] = "NOT excusedMissedTurns='".$uncheck."'";
$WHERE[] = "NOT g.excusedMissedTurns='".$uncheck."'";
}
}

Expand Down

0 comments on commit 47d2b12

Please sign in to comment.