ensure that no unencrypted content leaks through item_store which is private - we typically do this in mod/item, but some functions

bypass mod/item to create private posts
This commit is contained in:
friendica
2013-08-01 18:50:36 -07:00
parent 6197f945ad
commit 222fe08420
4 changed files with 28 additions and 12 deletions

View File

@@ -262,7 +262,7 @@ class Item extends BaseObject {
}
}
$result['private'] = $item['private'];
$result['private'] = $item['item_private'];
$result['toplevel'] = ($this->is_toplevel() ? 'toplevel_item' : '');
if($this->is_threaded()) {