diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-05-27 14:24:35 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-06-06 09:55:59 +0200 |
commit | dea5219244b5d931db102b02d95e72f784eec7d1 (patch) | |
tree | 3e38e701a637104f5cebe53493445ec2c776cea1 /lib/private/files/fileinfo.php | |
parent | bf5e9357fc5dacc0bc951e7c60fe7105533a56fb (diff) | |
download | nextcloud-server-dea5219244b5d931db102b02d95e72f784eec7d1.tar.gz nextcloud-server-dea5219244b5d931db102b02d95e72f784eec7d1.zip |
Fix folder name for storage root
Diffstat (limited to 'lib/private/files/fileinfo.php')
-rw-r--r-- | lib/private/files/fileinfo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/fileinfo.php b/lib/private/files/fileinfo.php index e7afeb4ccce..d012c0c5a63 100644 --- a/lib/private/files/fileinfo.php +++ b/lib/private/files/fileinfo.php @@ -108,7 +108,7 @@ class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess { * @return string */ public function getName() { - return $this->data['name']; + return basename($this->getPath()); } /** |