Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
  • Loading branch information
solracsf authored Nov 25, 2023
1 parent 10e513a commit 3a119f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files_versions/lib/Listener/FileEventsListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ public function pre_renameOrCopy_hook(Node $source, Node $target): void {
*/
private function getPathForNode(Node $node): ?string {
$user = \OC_User::getUser();
if (!emtpy($user)) {
if (!empty($user)) {
return $this->rootFolder
->getUserFolder($user)
->getRelativePath($node->getPath());
Expand Down

0 comments on commit 3a119f5

Please sign in to comment.