diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-09-09 23:58:24 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-09-09 23:58:24 +0200 |
commit | fa096217b17fa928a99509dff6d83dacd93978e5 (patch) | |
tree | 3696bdf0963b1f2cf78fe816b0557f121e6a1c5b /core/ajax | |
parent | 01e1157a548a34a2ea58ba91dc2540301c8f8896 (diff) | |
parent | e6b093bfb9bdf609a1a5743c8f80915dbd53ae35 (diff) | |
download | nextcloud-server-fa096217b17fa928a99509dff6d83dacd93978e5.tar.gz nextcloud-server-fa096217b17fa928a99509dff6d83dacd93978e5.zip |
Merge pull request #9512 from libasys/patch-2
Fix use Sharing Api with calendar
Diffstat (limited to 'core/ajax')
-rw-r--r-- | core/ajax/share.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ajax/share.php b/core/ajax/share.php index c6da79a8a42..9f758b4e44e 100644 --- a/core/ajax/share.php +++ b/core/ajax/share.php @@ -35,7 +35,8 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo if ($shareType === OCP\Share::SHARE_TYPE_LINK && $shareWith == '') { $shareWith = null; } - + $itemSourceName=(isset($_POST['itemSourceName'])) ? $_POST['itemSourceName']:''; + $token = OCP\Share::shareItem( $_POST['itemType'], $_POST['itemSource'], |