diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-05-13 17:41:18 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-05-13 17:41:18 +0200 |
commit | f5bc680f9c725c0aea166f3fc3eee8e0bcf5427c (patch) | |
tree | dc89b4a5dad4560af04e4224352d0cef521c9c3b /lib | |
parent | 7babd44dd07091abaa871b40df8e8b10073482a3 (diff) | |
parent | bab8c1f8e51a93443c29fdabfdc9951d0efde473 (diff) | |
download | nextcloud-server-f5bc680f9c725c0aea166f3fc3eee8e0bcf5427c.tar.gz nextcloud-server-f5bc680f9c725c0aea166f3fc3eee8e0bcf5427c.zip |
Merge pull request #8572 from owncloud/core-getabsolutepathwithzero
Fixed getAbsolutePath case when path is "0"
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] !== '/') { |