diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-17 11:23:07 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-17 11:23:07 +0200 |
commit | ab6ee79e116d7c212867ae1044bf4672c0b02084 (patch) | |
tree | 9b6d960a8d6c0c1aa7ecee2539abc806d9524542 /apps/files_sharing/lib/api.php | |
parent | abf10ac9bdc3acdcac68f50fe95642e01673ae0b (diff) | |
download | nextcloud-server-ab6ee79e116d7c212867ae1044bf4672c0b02084.tar.gz nextcloud-server-ab6ee79e116d7c212867ae1044bf4672c0b02084.zip |
adjust tests
Diffstat (limited to 'apps/files_sharing/lib/api.php')
-rw-r--r-- | apps/files_sharing/lib/api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/api.php b/apps/files_sharing/lib/api.php index ae7728d552f..15bd7be9143 100644 --- a/apps/files_sharing/lib/api.php +++ b/apps/files_sharing/lib/api.php @@ -102,7 +102,7 @@ class Api { // include also reshares in the lists. This means that the result // will contain every user with access to the file. - if ($params['reshares'] === true) { + if (isset($params['reshares']) && $params['reshares'] === true) { $shares = self::addReshares($shares, $itemSource); } |