From 9d453c6f23cff66ca405c475c4663bf1bcdb07de Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Tue, 6 Aug 2013 19:23:00 +0300 Subject: [PATCH] Encode opspec before pushing to db --- ajax/otpoll.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ajax/otpoll.php b/ajax/otpoll.php index 83a18d65..fde9a451 100644 --- a/ajax/otpoll.php +++ b/ajax/otpoll.php @@ -75,6 +75,7 @@ switch ($command){ // append all ops in $postobject['args']['client_ops'] to the ops-table if ($seqHead>$currentHead){ foreach ($ops as $op){ + $op['opspec'] = json_encode($op['opspec']); OCA\Office\Op::add($op); } } else {