aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.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/text.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/text.php')
-rwxr-xr-xinclude/text.php2
1 files changed, 1 insertions, 1 deletions
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'),