Merge pull request #11802 from nextcloud/bugfix/noid/fix-password_by_talk-not-a-boolean
Fix a case where "password_by_talk" was not a boolean
This commit is contained in:
commit
78589a2f9b
1 changed files with 1 additions and 1 deletions
|
@ -980,7 +980,7 @@ class ShareByMailProvider implements IShareProvider {
|
|||
$share->setShareTime($shareTime);
|
||||
$share->setSharedWith($data['share_with']);
|
||||
$share->setPassword($data['password']);
|
||||
$share->setSendPasswordByTalk($data['password_by_talk']);
|
||||
$share->setSendPasswordByTalk((bool)$data['password_by_talk']);
|
||||
|
||||
if ($data['uid_initiator'] !== null) {
|
||||
$share->setShareOwner($data['uid_owner']);
|
||||
|
|
Loading…
Reference in a new issue