Skip to content

Commit

Permalink
Escape fields correctly on counters
Browse files Browse the repository at this point in the history
  • Loading branch information
bajb committed Sep 14, 2015
1 parent 07a38fe commit bbddcc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Assembler/Segments/ExpressionAssembler.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public function assembleBooleanExpression(BooleanExpression $expr)

public function assembleCounterExpression(CounterExpression $expr)
{
return $this->assembleSegment($expr->getField())
return $this->assembleSegment($this->escapeField($expr->getField()))
. ' ' . $expr->getOperator() . ' '
. $this->assembleSegment($expr->getValue());
}
Expand Down

0 comments on commit bbddcc1

Please sign in to comment.