mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
chore: don't pass null to createElement
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
1fa37ed2dc
commit
f73c5c4aa9
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ class SyncService {
|
|||
$dom = new \DOMDocument('1.0', 'UTF-8');
|
||||
$dom->formatOutput = true;
|
||||
$root = $dom->createElementNS('DAV:', 'd:sync-collection');
|
||||
$sync = $dom->createElement('d:sync-token', $syncToken);
|
||||
$sync = $dom->createElement('d:sync-token', $syncToken ?? '');
|
||||
$prop = $dom->createElement('d:prop');
|
||||
$cont = $dom->createElement('d:getcontenttype');
|
||||
$etag = $dom->createElement('d:getetag');
|
||||
|
|
|
|||
Loading…
Reference in a new issue