diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-04-08 16:56:10 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-04-23 12:54:25 +0200 |
commit | 83d68107253834aa5322198295c827d94e951e90 (patch) | |
tree | 146e6d9c734cca86edc3201c800dcf9d5262479a /apps/files | |
parent | 496743523729b69e311c170a810182f95568fb7d (diff) | |
download | nextcloud-server-83d68107253834aa5322198295c827d94e951e90.tar.gz nextcloud-server-83d68107253834aa5322198295c827d94e951e90.zip |
don't overwrite shared folder icon
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/lib/helper.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files/lib/helper.php b/apps/files/lib/helper.php index 2e3741cbdca..88a5ffcfb61 100644 --- a/apps/files/lib/helper.php +++ b/apps/files/lib/helper.php @@ -37,8 +37,7 @@ class Helper $sid = explode(':', $sid); if ($sid[0] === 'shared') { $icon = \OC_Helper::mimetypeIcon('dir-shared'); - } - if ($sid[0] !== 'local' and $sid[0] !== 'home') { + } elseif ($sid[0] !== 'local' and $sid[0] !== 'home') { $icon = \OC_Helper::mimetypeIcon('dir-external'); } } |