mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
fix(dav): cast parameters to string
Signed-off-by: Anna Larch <anna@nextcloud.com>
This commit is contained in:
parent
32866bc7ee
commit
eeb14df43b
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ class AppleProvisioningPlugin extends ServerPlugin {
|
|||
$filename = $userId . '-' . AppleProvisioningNode::FILENAME;
|
||||
|
||||
$xmlSkeleton = $this->getTemplate();
|
||||
$body = vsprintf($xmlSkeleton, array_map(function ($v) {
|
||||
$body = vsprintf($xmlSkeleton, array_map(function (string $v) {
|
||||
return \htmlspecialchars($v, ENT_XML1, 'UTF-8');
|
||||
}, [
|
||||
$description,
|
||||
|
|
|
|||
Loading…
Reference in a new issue