diff options
author | libasys <sebastian.doell@libasys.de> | 2014-07-10 13:02:04 +0200 |
---|---|---|
committer | libasys <sebastian.doell@libasys.de> | 2014-07-10 13:02:04 +0200 |
commit | b395ff549bf70ffb86b79e41ec92f1bf2f2c7960 (patch) | |
tree | df8fe6ce656b2dead3f951a1ed6802d44d10ee89 /lib/private/share | |
parent | 77792b5b7e068232360bade598fb0dd3c25bf5bb (diff) | |
download | nextcloud-server-b395ff549bf70ffb86b79e41ec92f1bf2f2c7960.tar.gz nextcloud-server-b395ff549bf70ffb86b79e41ec92f1bf2f2c7960.zip |
Update share.php
Added isset for error:
```
Undefined index: file_target at /var/www/owncloud/lib/private/share/share.php#1911
```
Diffstat (limited to 'lib/private/share')
-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 d356d6037ff..da978e13e72 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -1908,7 +1908,7 @@ class Share extends \OC\Share\Constants { } else if (!isset($statuses[$item[$column]])) { $statuses[$item[$column]]['link'] = false; } - if ($item['file_target']) { + if (isset($item['file_target'])) { $statuses[$item[$column]]['path'] = $item['path']; } } |