diff options
author | friendica <info@friendica.com> | 2014-07-24 21:29:07 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-07-24 21:29:07 -0700 |
commit | 5dcd0654d44b21503663801b8b5fb5d76ae4f015 (patch) | |
tree | cfe143f4d70e8be387e3afc430d19a7f4554f8e5 /mod/profiles.php | |
parent | 1a6973a670b7137353708e838d9076be3e9b93bf (diff) | |
download | volse-hubzilla-5dcd0654d44b21503663801b8b5fb5d76ae4f015.tar.gz volse-hubzilla-5dcd0654d44b21503663801b8b5fb5d76ae4f015.tar.bz2 volse-hubzilla-5dcd0654d44b21503663801b8b5fb5d76ae4f015.zip |
always provide a profile edit entry in the nav usermenu
Diffstat (limited to 'mod/profiles.php')
-rw-r--r-- | mod/profiles.php | 4 |
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"), |