Changed logic to allow joining games, and becoming friends
Added Spacing
This commit is contained in:
parent
c2997b3961
commit
96fb0d7e14
1 changed files with 2 additions and 0 deletions
|
@ -127,12 +127,14 @@ class QueryExpressionVisitor extends ExpressionVisitor
|
|||
public function walkComparison(Comparison $comparison)
|
||||
{
|
||||
$parameterName = str_replace('.', '_', $comparison->getField());
|
||||
|
||||
foreach($this->parameters as $parameter) {
|
||||
if($parameter->getName() === $parameterName) {
|
||||
$parameterName .= '_' . count($this->parameters);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$parameter = new Parameter($parameterName, $this->walkValue($comparison->getValue()));
|
||||
$placeholder = ':' . $parameterName;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue