diff options
Diffstat (limited to 'apps/dav/lib/CardDAV/PhotoCache.php')
-rw-r--r-- | apps/dav/lib/CardDAV/PhotoCache.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/CardDAV/PhotoCache.php b/apps/dav/lib/CardDAV/PhotoCache.php index c02280a0bec..99c0d1817c3 100644 --- a/apps/dav/lib/CardDAV/PhotoCache.php +++ b/apps/dav/lib/CardDAV/PhotoCache.php @@ -108,7 +108,7 @@ class PhotoCache { $data = $this->getPhoto($card); if ($data === false || !isset($data['Content-Type'])) { - $folder->newFile('nophoto'); + $folder->newFile('nophoto', ''); return; } @@ -116,7 +116,7 @@ class PhotoCache { $extension = self::ALLOWED_CONTENT_TYPES[$contentType] ?? null; if ($extension === null) { - $folder->newFile('nophoto'); + $folder->newFile('nophoto', ''); return; } |