diff options
author | icewind1991 <robin@icewind.nl> | 2014-07-15 16:54:57 +0200 |
---|---|---|
committer | icewind1991 <robin@icewind.nl> | 2014-07-15 16:54:57 +0200 |
commit | 61b5a770e443729bb2cd56b10ef587f313436a36 (patch) | |
tree | 682027d6dd288d8e6ee1ca1c2cdb48c05ec3e2a5 /lib | |
parent | 6c93bcc814b6f063c0ecf058307222f5c92b02ae (diff) | |
parent | cd88c2fd7b18706d5a35b8e007f1dc97e97c0e96 (diff) | |
download | nextcloud-server-61b5a770e443729bb2cd56b10ef587f313436a36.tar.gz nextcloud-server-61b5a770e443729bb2cd56b10ef587f313436a36.zip |
Merge pull request #9561 from libasys/patch-3
Fix Error undefined index: file_target
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/share/share.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php index 691a2053a82..673c0dc383a 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -1905,7 +1905,7 @@ class Share extends \OC\Share\Constants { } else if (!isset($statuses[$item[$column]])) { $statuses[$item[$column]]['link'] = false; } - if ($item['file_target']) { + if (!empty($item['file_target'])) { $statuses[$item[$column]]['path'] = $item['path']; } } |