aboutsummaryrefslogtreecommitdiffstats
path: root/include/ItemObject.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-01 18:50:36 -0700
committerfriendica <info@friendica.com>2013-08-01 18:50:36 -0700
commit222fe08420802f7eacd4a544953f507d536c3fb8 (patch)
tree26a031f9a1c066402a7a0d475e3429830e291707 /include/ItemObject.php
parent6197f945adb62da9d1aeb2a8f4058ed4651fa3b6 (diff)
downloadvolse-hubzilla-222fe08420802f7eacd4a544953f507d536c3fb8.tar.gz
volse-hubzilla-222fe08420802f7eacd4a544953f507d536c3fb8.tar.bz2
volse-hubzilla-222fe08420802f7eacd4a544953f507d536c3fb8.zip
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
Diffstat (limited to 'include/ItemObject.php')
-rw-r--r--include/ItemObject.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php
index b31e60cbc..8c8c0ee2a 100644
--- a/include/ItemObject.php
+++ b/include/ItemObject.php
@@ -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()) {