Encode opspec before pushing to db

This commit is contained in:
Victor Dubiniuk 2013-08-06 19:23:00 +03:00 committed by Tobias Hintze
parent 1f9ef09bc0
commit 9d453c6f23

View File

@ -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 {