aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-22 18:41:10 -0800
committerfriendica <info@friendica.com>2015-01-22 18:41:10 -0800
commit6e0e3b2433fc426b758a55811f56536d58705813 (patch)
treea8d8fb7c63216cea94765e93be935f2b9d2fe227 /include/text.php
parente46eba125888704b4381aa8418495e91eeb565c8 (diff)
downloadvolse-hubzilla-6e0e3b2433fc426b758a55811f56536d58705813.tar.gz
volse-hubzilla-6e0e3b2433fc426b758a55811f56536d58705813.tar.bz2
volse-hubzilla-6e0e3b2433fc426b758a55811f56536d58705813.zip
more expanding item flags
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 720895810..101d6ca2e 100644
--- a/include/text.php
+++ b/include/text.php
@@ -1152,7 +1152,7 @@ function link_compare($a,$b) {
function unobscure(&$item) {
- if(array_key_exists('item_flags',$item) && ($item['item_flags'] & ITEM_OBSCURED)) {
+ if(array_key_exists('item_obscured',$item) && intval($item['item_obscured'])) {
$key = get_config('system','prvkey');
if($item['title'])
$item['title'] = crypto_unencapsulate(json_decode_plus($item['title']),$key);