Merge pull request #9561 from libasys/patch-3

Fix Error undefined index: file_target
This commit is contained in:
icewind1991 2014-07-15 16:54:57 +02:00
commit 61b5a770e4

View file

@ -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'];
}
}