Skip to content

Commit e557c05

Browse files
committed
fix bug with array_search
1 parent da561a5 commit e557c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doctrine/Phpcr/PrefixCandidates.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function isCandidate($name)
8787
public function restrictQuery($queryBuilder)
8888
{
8989
$prefixes = $this->getPrefixes();
90-
if (array_search('', $prefixes) || !count($prefixes)) {
90+
if (in_array('', $prefixes) || !count($prefixes)) {
9191
return;
9292
}
9393

0 commit comments

Comments
 (0)