aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profiles.php
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-07-25 09:42:50 +0200
committermarijus <mario@mariovavti.com>2014-07-25 09:42:50 +0200
commit9938f0c52b44b6173e02386d3415fbc69ac107ea (patch)
tree5bdaaa2ba0fb8e48c3fd66bdd823a62928e30d67 /mod/profiles.php
parent9c40ee9e60df1eef0466f1c9f3cd9c30e429c80a (diff)
parent18f5890cb14e7c40909fdb92bffefee3415ba411 (diff)
downloadvolse-hubzilla-9938f0c52b44b6173e02386d3415fbc69ac107ea.tar.gz
volse-hubzilla-9938f0c52b44b6173e02386d3415fbc69ac107ea.tar.bz2
volse-hubzilla-9938f0c52b44b6173e02386d3415fbc69ac107ea.zip
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'mod/profiles.php')
-rw-r--r--mod/profiles.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profiles.php b/mod/profiles.php
index f6392d4ab..60e7efa1f 100644
--- a/mod/profiles.php
+++ b/mod/profiles.php
@@ -505,8 +505,8 @@ function profiles_content(&$a) {
$o .= replace_macros($tpl,array(
'$form_security_token' => get_form_security_token("profile_edit"),
- '$profile_clone_link' => 'profiles/clone/' . $r[0]['id'] . '?t='
- . get_form_security_token("profile_clone"),
+ '$profile_clone_link' => ((feature_enabled(local_user(),'multi_profiles')) ? 'profiles/clone/' . $r[0]['id'] . '?t='
+ . get_form_security_token("profile_clone") : ''),
'$profile_drop_link' => 'profiles/drop/' . $r[0]['id'] . '?t='
. get_form_security_token("profile_drop"),