item_store logging to discover where object is getting quote mangled.
This commit is contained in:
parent
9fb2a87c9a
commit
8bac352b1c
@ -1417,12 +1417,15 @@ function item_store($arr,$allow_exec = false) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
if($arr['object'])
|
||||
logger('item_store: input object: ' . print_r($arr['object'],true), LOGGER_DATA);
|
||||
|
||||
|
||||
if((x($arr,'object')) && is_array($arr['object'])) {
|
||||
activity_sanitise($arr['object']);
|
||||
logger('item_store: sanitised object: ' . print_r($arr['object'],true), LOGGER_DATA);
|
||||
$arr['object'] = json_encode($arr['object']);
|
||||
logger('item_store: encoded object: ' . print_r($arr['object'],true), LOGGER_DATA);
|
||||
}
|
||||
|
||||
if((x($arr,'target')) && is_array($arr['target'])) {
|
||||
|
Reference in New Issue
Block a user