aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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'])) {