diff options
-rw-r--r-- | apps/files_external/lib/Command/Notify.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Command/Notify.php b/apps/files_external/lib/Command/Notify.php index 04748117e27..b859a825c80 100644 --- a/apps/files_external/lib/Command/Notify.php +++ b/apps/files_external/lib/Command/Notify.php @@ -155,7 +155,7 @@ class Notify extends Base { } private function markParentAsOutdated($mountId, $path) { - $parent = dirname($path); + $parent = ltrim(dirname($path), '/'); if ($parent === '.') { $parent = ''; } |