Skip to content

Commit 3a119f5

Browse files
authored
Fix typo
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
1 parent 10e513a commit 3a119f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files_versions/lib/Listener/FileEventsListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ public function pre_renameOrCopy_hook(Node $source, Node $target): void {
355355
*/
356356
private function getPathForNode(Node $node): ?string {
357357
$user = \OC_User::getUser();
358-
if (!emtpy($user)) {
358+
if (!empty($user)) {
359359
return $this->rootFolder
360360
->getUserFolder($user)
361361
->getRelativePath($node->getPath());

0 commit comments

Comments
 (0)