1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Changed logic to allow joining games, and becoming friends

Added Spacing
This commit is contained in:
Brad Sahlhoff 2013-11-19 11:09:23 -05:00
parent c2997b3961
commit 96fb0d7e14

View File

@ -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;