summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/CalDavBackend.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2018-02-21 10:18:38 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2018-08-06 17:20:49 +0200
commit32701e261b9d90400f2f73a32cdbb320df9ccaed (patch)
treead32e52a101ce2edd1daf65d595fb9e803d3c6fd /apps/dav/lib/CalDAV/CalDavBackend.php
parent8e0e5a6b28221b61ab898809b6e965ab1ab14548 (diff)
downloadnextcloud-server-32701e261b9d90400f2f73a32cdbb320df9ccaed.tar.gz
nextcloud-server-32701e261b9d90400f2f73a32cdbb320df9ccaed.zip
Adding test for table schedulingobjects and fixing postgres LOB
(cherry picked from commit afd4ebf0404e8bcd7cba0bec2dce177e97632f8a) Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
Diffstat (limited to 'apps/dav/lib/CalDAV/CalDavBackend.php')
-rw-r--r--apps/dav/lib/CalDAV/CalDavBackend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php
index b6502a2616f..8a3db1cd133 100644
--- a/apps/dav/lib/CalDAV/CalDavBackend.php
+++ b/apps/dav/lib/CalDAV/CalDavBackend.php
@@ -1985,7 +1985,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
$query->insert('schedulingobjects')
->values([
'principaluri' => $query->createNamedParameter($principalUri),
- 'calendardata' => $query->createNamedParameter($objectData),
+ 'calendardata' => $query->createNamedParameter($objectData, IQueryBuilder::PARAM_LOB),
'uri' => $query->createNamedParameter($objectUri),
'lastmodified' => $query->createNamedParameter(time()),
'etag' => $query->createNamedParameter(md5($objectData)),