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:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user