diff options
author | friendica <info@friendica.com> | 2013-08-18 05:04:37 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-08-18 05:04:37 -0700 |
commit | 8bac352b1cbbefd12fe04e1b269367472cba58ee (patch) | |
tree | 4cf07c25d85fb9cc12673a8172ba2c018cf71e96 /include | |
parent | 9fb2a87c9a55be8c0b8bffc7aa438dae5acc7390 (diff) | |
download | volse-hubzilla-8bac352b1cbbefd12fe04e1b269367472cba58ee.tar.gz volse-hubzilla-8bac352b1cbbefd12fe04e1b269367472cba58ee.tar.bz2 volse-hubzilla-8bac352b1cbbefd12fe04e1b269367472cba58ee.zip |
item_store logging to discover where object is getting quote mangled.
Diffstat (limited to 'include')
-rwxr-xr-x | include/items.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index 5137a8b31..ba0867562 100755 --- a/include/items.php +++ b/include/items.php @@ -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'])) { |