aboutsummaryrefslogtreecommitdiffstats
path: root/include/ItemObject.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-09 16:23:58 -0800
committerfriendica <info@friendica.com>2014-01-09 16:23:58 -0800
commita78d9b973d6391e3a15f8a3ff2fe586a4bffe08c (patch)
treee5367a6951861eb88887c183e97ff0f3c1ba939a /include/ItemObject.php
parentdb8ebc9f375478bddc0f48d972e3acfbde80685a (diff)
downloadvolse-hubzilla-a78d9b973d6391e3a15f8a3ff2fe586a4bffe08c.tar.gz
volse-hubzilla-a78d9b973d6391e3a15f8a3ff2fe586a4bffe08c.tar.bz2
volse-hubzilla-a78d9b973d6391e3a15f8a3ff2fe586a4bffe08c.zip
simplify permalink selection logic
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 40f85f5ef..9a62cee4b 100644
--- a/include/ItemObject.php
+++ b/include/ItemObject.php
@@ -232,7 +232,7 @@ class Item extends BaseObject {
'like' => $like,
'dislike' => ((feature_enabled($conv->get_profile_owner(),'dislike')) ? $dislike : ''),
'share' => $share,
- 'plink' => get_plink($item,$mode),
+ 'plink' => get_plink($item),
'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 : ''),