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

@@ -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'),