diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/api.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/api.php b/include/api.php index 78e628386..7466c199a 100644 --- a/include/api.php +++ b/include/api.php @@ -1610,6 +1610,9 @@ } else { $d['text'] = $item['title']."\n".html2plain(bbcode($item['body']), 0); } + if (isset($_GET["getUserObjects"]) && $_GET["getUserObjects"] == "false") { + unset($d['sender']); unset($d['recipient']); + } $ret[]=$d; } |