aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-10-13 11:10:48 +0200
committerGitHub <noreply@github.com>2018-10-13 11:10:48 +0200
commit78589a2f9b6d6003a6fd867be368107f5b0fd01c (patch)
tree3406aab701b12cfd138652b0b28e1eba256aa4e6
parent85694c6d766e90385c024c5325c1e0217855b44a (diff)
parent24a2107e035bf4658f611d070fc2b3f641191430 (diff)
downloadnextcloud-server-78589a2f9b6d6003a6fd867be368107f5b0fd01c.tar.gz
nextcloud-server-78589a2f9b6d6003a6fd867be368107f5b0fd01c.zip
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
-rw-r--r--apps/sharebymail/lib/ShareByMailProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php
index 26a9beefdfc..b11a9349371 100644
--- a/apps/sharebymail/lib/ShareByMailProvider.php
+++ b/apps/sharebymail/lib/ShareByMailProvider.php
@@ -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']);