diff options
author | friendica <info@friendica.com> | 2012-04-03 19:20:39 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-03 19:20:39 -0700 |
commit | 96abee53e49c70679919dc0f0ac8a44439e36aa3 (patch) | |
tree | 43e736118de2b12d17836f7cb3a5ecac22e3024e | |
parent | 1e02fd8a72784d8f637bd7fa6f0b188cae182a3a (diff) | |
download | volse-hubzilla-96abee53e49c70679919dc0f0ac8a44439e36aa3.tar.gz volse-hubzilla-96abee53e49c70679919dc0f0ac8a44439e36aa3.tar.bz2 volse-hubzilla-96abee53e49c70679919dc0f0ac8a44439e36aa3.zip |
this is better
-rwxr-xr-x | mod/profile.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/profile.php b/mod/profile.php index 66386160f..68d73fba3 100755 --- a/mod/profile.php +++ b/mod/profile.php @@ -124,11 +124,9 @@ function profile_content(&$a, $update = 0) { return; } - require_once('include/contact_widgets.php'); + if(! $update) { - $a->page['aside'] .= categories_widget($a->get_baseurl(true) . '/profile/' . $a->profile['nickname'],(x($category) ? xmlify($category) : '')); - if(! $update) { if(x($_GET,'tab')) $tab = notags(trim($_GET['tab'])); @@ -150,6 +148,7 @@ function profile_content(&$a, $update = 0) { $celeb = ((($a->profile['page-flags'] == PAGE_SOAPBOX) || ($a->profile['page-flags'] == PAGE_COMMUNITY)) ? true : false); + $a->page['aside'] .= categories_widget($a->get_baseurl(true) . '/profile/' . $a->profile['nickname'],(x($category) ? xmlify($category) : '')); if(can_write_wall($a,$a->profile['profile_uid'])) { |