]> git.mxchange.org Git - friendica.git/commitdiff
this is better
authorfriendica <info@friendica.com>
Wed, 4 Apr 2012 02:20:39 +0000 (19:20 -0700)
committerfriendica <info@friendica.com>
Wed, 4 Apr 2012 02:20:39 +0000 (19:20 -0700)
mod/profile.php

index 66386160f4706da1031a5cd79a34b3560735617b..68d73fba3829b50aab8d2fb33897788ee148dfe9 100755 (executable)
@@ -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'])) {