diff options
author | friendica <info@friendica.com> | 2014-01-09 16:23:58 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-01-09 16:23:58 -0800 |
commit | a78d9b973d6391e3a15f8a3ff2fe586a4bffe08c (patch) | |
tree | e5367a6951861eb88887c183e97ff0f3c1ba939a /include/text.php | |
parent | db8ebc9f375478bddc0f48d972e3acfbde80685a (diff) | |
download | volse-hubzilla-a78d9b973d6391e3a15f8a3ff2fe586a4bffe08c.tar.gz volse-hubzilla-a78d9b973d6391e3a15f8a3ff2fe586a4bffe08c.tar.bz2 volse-hubzilla-a78d9b973d6391e3a15f8a3ff2fe586a4bffe08c.zip |
simplify permalink selection logic
Diffstat (limited to 'include/text.php')
-rwxr-xr-x | include/text.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/text.php b/include/text.php index b47f0518a..f5c440e4a 100755 --- a/include/text.php +++ b/include/text.php @@ -1389,9 +1389,9 @@ function feed_salmonlinks($nick) { } -function get_plink($item,$mode) { +function get_plink($item,$conversation_mode = true) { $a = get_app(); - if(($mode == 'display') || ($mode == 'channel') || ($mode == 'network')) + if($conversation_mode) $key = 'plink'; else $key = 'llink'; |