mirror of
https://github.com/nextcloud/server.git
synced 2024-08-21 17:55:33 +02:00
Merge pull request #9512 from libasys/patch-2
Fix use Sharing Api with calendar
This commit is contained in:
commit
fa096217b1
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user