Skip to content

Commit

Permalink
Update NodeIndexer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dlubitz authored Feb 24, 2023
1 parent 78a4003 commit 284a0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Indexer/NodeIndexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function indexNode(NodeInterface $node, $targetWorkspaceName = null, $ind

$fulltextData = [];

if (isset($this->indexedNodeData[$identifier]) ($properties = $this->indexClient->findOneByIdentifier($identifier)) !== false) {
if (isset($this->indexedNodeData[$identifier]) && ($properties = $this->indexClient->findOneByIdentifier($identifier)) !== false) {
unset($properties['__identifier__']);
$properties['__workspace'] .= ', #' . ($targetWorkspaceName ?? $node->getContext()->getWorkspaceName()) . '#';
if (array_key_exists('__dimensionshash', $properties)) {
Expand Down

0 comments on commit 284a0d7

Please sign in to comment.