]> source.dussan.org Git - nextcloud-server.git/commit
Fix a case where "password_by_talk" was not a boolean (e.g. null or "0") and actively... 11851/head
authorMorris Jobke <hey@morrisjobke.de>
Fri, 12 Oct 2018 15:01:52 +0000 (17:01 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Mon, 15 Oct 2018 15:51:09 +0000 (17:51 +0200)
commit9454de50b4190051cd3f8db0f233afe40f460e2f
tree6ff47aff7c98e20a87397f0516f797fb7897078f
parent91c44c84cfaf6745fe8a317c76ad996da7ee7a3f
Fix a case where "password_by_talk" was not a boolean (e.g. null or "0") and actively cast it to a boolean

This was the error message that we have seen:

```
Argument 1 passed to OC\\Share20\\Share::setSendPasswordByTalk() must be of the type boolean, null given, called in apps/sharebymail/lib/ShareByMailProvider.php on line 981
```

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
apps/sharebymail/lib/ShareByMailProvider.php