aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkostikov <max@kostikov.co>2018-07-25 22:28:21 +0200
committerkostikov <max@kostikov.co>2018-07-25 22:28:21 +0200
commitb0c8e75c6e1621470e360f42eff1454241e41e8b (patch)
tree6320076c5db8da4b42283f143880a1c2f7f696d0
parentd39942902c1404837e6d767379be16595046ab2f (diff)
downloadvolse-hubzilla-b0c8e75c6e1621470e360f42eff1454241e41e8b.tar.gz
volse-hubzilla-b0c8e75c6e1621470e360f42eff1454241e41e8b.tar.bz2
volse-hubzilla-b0c8e75c6e1621470e360f42eff1454241e41e8b.zip
Fix duplicate transport displaying
-rw-r--r--Zotlabs/Module/Siteinfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Siteinfo.php b/Zotlabs/Module/Siteinfo.php
index 25276815d..79b94662d 100644
--- a/Zotlabs/Module/Siteinfo.php
+++ b/Zotlabs/Module/Siteinfo.php
@@ -32,7 +32,7 @@ class Siteinfo extends \Zotlabs\Web\Controller {
'$transport_link' => '<a href="https://zotlabs.com">https://zotlabs.com</a>',
'$additional_text' => t('Additional federated transport protocols:'),
- '$additional_fed' => implode(',',$federated),
+ '$additional_fed' => implode(', ',array_unique($federated)),
'$prj_version' => ((get_config('system','hidden_version_siteinfo')) ? '' : sprintf( t('Version %s'), \Zotlabs\Lib\System::get_project_version())),
'$prj_linktxt' => t('Project homepage'),
'$prj_srctxt' => t('Developer homepage'),