aboutsummaryrefslogtreecommitdiffstats
path: root/include/ItemObject.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-20 20:29:52 -0700
committerfriendica <info@friendica.com>2013-10-20 20:29:52 -0700
commitc48da79adf648370beeeb0bab18f89963babebaa (patch)
treef170c74f306c430845bba62fb43e12b3efca7d2f /include/ItemObject.php
parent5c5174b00837133dcebb9003d8386ef8596b0a55 (diff)
downloadvolse-hubzilla-c48da79adf648370beeeb0bab18f89963babebaa.tar.gz
volse-hubzilla-c48da79adf648370beeeb0bab18f89963babebaa.tar.bz2
volse-hubzilla-c48da79adf648370beeeb0bab18f89963babebaa.zip
link to source - if it's on the display page link to original source (probably on a different site). All other conversations link to 'llink' which is a local copy and may provide a richer possibility of interactions, especially if you're logged in locally and it's your own copy of the post.
Diffstat (limited to 'include/ItemObject.php')
-rw-r--r--include/ItemObject.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php
index fc99c50ad..59b4538df 100644
--- a/include/ItemObject.php
+++ b/include/ItemObject.php
@@ -229,7 +229,7 @@ class Item extends BaseObject {
'like' => $like,
'dislike' => ((feature_enabled($conv->get_profile_owner(),'dislike')) ? $dislike : ''),
'share' => $share,
- 'plink' => get_plink($item),
+ 'plink' => get_plink($item,$mode),
'edpost' => ((feature_enabled($conv->get_profile_owner(),'edit_posts')) ? $edpost : ''),
'star' => ((feature_enabled($conv->get_profile_owner(),'star_posts')) ? $star : ''),
'tagger' => ((feature_enabled($conv->get_profile_owner(),'commtag')) ? $tagger : ''),