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

Commit

Permalink
Browse files Browse the repository at this point in the history
[index.lucene] Typo calling getUser() on wrong object
  • Loading branch information
cdujeu committed Feb 20, 2015
1 parent 0c76910 commit 1164429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/index.lucene/class.AjxpLuceneIndexer.php
Expand Up @@ -455,7 +455,7 @@ public function updateNodeIndex($oldNode, $newNode = null, $copy = false, $recur
if($oldNode == null){
$index = $this->loadIndex($newNode->getRepositoryId(), true, $newNode->getUser());
}else{
$index = $this->loadIndex($oldNode->getRepositoryId(), true, $newNode->getUser());
$index = $this->loadIndex($oldNode->getRepositoryId(), true, $oldNode->getUser());
}
}
$this->setDefaultAnalyzer();
Expand Down

0 comments on commit 1164429

Please sign in to comment.