From 3cc662aa63722f3d142fcc924614140a70ecc323 Mon Sep 17 00:00:00 2001 From: Friendika Date: Fri, 5 Nov 2010 05:01:54 -0700 Subject: friend/contact sidebar block --- mod/profile.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mod/profile.php') diff --git a/mod/profile.php b/mod/profile.php index a3148eea3..99c775c4e 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -41,6 +41,10 @@ function profile_load(&$a, $username, $profile = 0) { $a->page['title'] = $a->profile['name']; $_SESSION['theme'] = $a->profile['theme']; + if(! (x($a->page,'aside'))) + $a->page['aside'] = ''; + $a->page['aside'] .= contact_block(); + return; }} -- cgit v1.2.3