diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-11-08 21:36:13 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-11-08 21:36:13 +0100 |
commit | 41a61bc637c3d60efc5abe81c39fc726fd78cd1d (patch) | |
tree | 07a1b4f9b895c3c8441a2c45356ad7e4565427ae /apps/files/index.php | |
parent | 46071fed80c7375edf4788578776a6b313b6dca3 (diff) | |
download | nextcloud-server-41a61bc637c3d60efc5abe81c39fc726fd78cd1d.tar.gz nextcloud-server-41a61bc637c3d60efc5abe81c39fc726fd78cd1d.zip |
fix undefined index when loading files app
Diffstat (limited to 'apps/files/index.php')
-rw-r--r-- | apps/files/index.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/files/index.php b/apps/files/index.php index cdb88ab83f2..4e5f4cd93a8 100644 --- a/apps/files/index.php +++ b/apps/files/index.php @@ -66,9 +66,7 @@ foreach( \OC\Files\Filesystem::getDirectoryContent( $dir ) as $i ) { $i['extension']=''; } } - if($i['directory']=='/') { - $i['directory']=''; - } + $i['directory'] = $dir; $files[] = $i; } |