Skip to content

Commit d3caf53

Browse files
authored
Merge pull request #211 from phpcr/fix-full-text-constraint
fix mistake in handling full text constraint
2 parents 4d17b4c + e7229ac commit d3caf53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PHPCR/Util/QOM/BaseQomToSqlQueryConverter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ protected function convertFullTextSearchExpression($expr)
190190
throw new InvalidArgumentException('Unknown full text search expression type '.get_class($expr));
191191
}
192192

193-
$expr = $this->generator->evalFullText($expr);
193+
$literal = $this->generator->evalFullText($literal);
194194

195-
return "'$expr'";
195+
return "'$literal'";
196196
}
197197

198198
/**

0 commit comments

Comments
 (0)