Skip to content

Commit 4677b12

Browse files
committed
special case wildcard property name
1 parent e443cc9 commit 4677b12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PHPCR/Util/QOM/Sql2Generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ public function evalFullTextSearchScore($selectorValue = null)
295295
public function evalPropertyValue($propertyName, $selectorName = null)
296296
{
297297
$sql2 = null !== $selectorName ? $this->addBracketsIfNeeded($selectorName) . '.' : '';
298-
if (substr($propertyName, 0, 1) !== '[') {
298+
if ('*' !== $propertyName && substr($propertyName, 0, 1) !== '[') {
299299
$propertyName = "[$propertyName]";
300300
}
301301
$sql2 .= $propertyName;

0 commit comments

Comments
 (0)