aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-18 05:04:37 -0700
committerfriendica <info@friendica.com>2013-08-18 05:04:37 -0700
commit8bac352b1cbbefd12fe04e1b269367472cba58ee (patch)
tree4cf07c25d85fb9cc12673a8172ba2c018cf71e96 /include/items.php
parent9fb2a87c9a55be8c0b8bffc7aa438dae5acc7390 (diff)
downloadvolse-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/items.php')
-rwxr-xr-xinclude/items.php5
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'])) {