Skip to content

Commit

Permalink
Merge pull request #111 from nextcloud/backport/105/stable20
Browse files Browse the repository at this point in the history
[stable20] Fix file not found exception
  • Loading branch information
R0Wi authored Mar 25, 2021
2 parents 5c74a63 + 94fe9d2 commit 9c1273e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Listeners/FileRenamed.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function handle(Event $event): void {
return;
}

$node = $event->getSource();
$node = $event->getTarget();
try {
$this->fullTextSearchManager->updateIndexStatus(
'files', (string)$node->getId(), IIndex::INDEX_META
Expand Down

0 comments on commit 9c1273e

Please sign in to comment.