diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/view.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php index 407f5981957..39c71cfc0b0 100644 --- a/lib/private/files/view.php +++ b/lib/private/files/view.php @@ -37,7 +37,7 @@ class View { } public function getAbsolutePath($path = '/') { - if (!$path) { + if ($path === '') { $path = '/'; } if ($path[0] !== '/') { |