Merge pull request #9512 from libasys/patch-2
Fix use Sharing Api with calendar
This commit is contained in:
commit
fa096217b1
|
@ -35,6 +35,7 @@ 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'],
|
||||
|
|
Loading…
Reference in New Issue