mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Fix text merging
This commit is contained in:
@@ -241,7 +241,7 @@ class QueryVisitor implements Visit
|
||||
throw new \Exception('Unexpected context after non-contextualizable node');
|
||||
}
|
||||
} elseif ($node instanceof AST\Node) {
|
||||
$root = new AST\AndExpression($root, $node);
|
||||
$root = new AST\Boolean\AndOperator($root, $node);
|
||||
} else {
|
||||
throw new \Exception('Unexpected node type inside text node.');
|
||||
}
|
||||
|
Reference in New Issue
Block a user