From 222fe08420802f7eacd4a544953f507d536c3fb8 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 1 Aug 2013 18:50:36 -0700 Subject: 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 --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/text.php') diff --git a/include/text.php b/include/text.php index 890355aea..66fa668a9 100755 --- a/include/text.php +++ b/include/text.php @@ -1258,7 +1258,7 @@ function feed_salmonlinks($nick) { function get_plink($item) { $a = get_app(); - if (x($item,'plink') && ($item['private'] != 1)) { + if (x($item,'plink') && ($item['item_private'] != 1)) { return array( 'href' => $item['plink'], 'title' => t('link to source'), -- cgit v1.2.3