Encode opspec before pushing to db
This commit is contained in:
parent
1f9ef09bc0
commit
9d453c6f23
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user