Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 1164429

Browse files
committed
[index.lucene] Typo calling getUser() on wrong object
1 parent 0c76910 commit 1164429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/plugins/index.lucene/class.AjxpLuceneIndexer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ public function updateNodeIndex($oldNode, $newNode = null, $copy = false, $recur
455455
if($oldNode == null){
456456
$index = $this->loadIndex($newNode->getRepositoryId(), true, $newNode->getUser());
457457
}else{
458-
$index = $this->loadIndex($oldNode->getRepositoryId(), true, $newNode->getUser());
458+
$index = $this->loadIndex($oldNode->getRepositoryId(), true, $oldNode->getUser());
459459
}
460460
}
461461
$this->setDefaultAnalyzer();

0 commit comments

Comments
 (0)