From 4ea6f86b2089e0468139890a42cb5157f804c26e Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 24 Oct 2011 22:07:42 -0700 Subject: bug #166 --- mod/network.php | 4 +++- mod/profile.php | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'mod') diff --git a/mod/network.php b/mod/network.php index 491603f35..9fed8592e 100644 --- a/mod/network.php +++ b/mod/network.php @@ -328,8 +328,10 @@ function network_content(&$a, $update = 0) { } } - if((! $group) && (! $cid) && (! $update)) + if((! $group) && (! $cid) && (! $update)) { $o .= get_birthdays(); + $o .= get_events(); + } $sql_extra2 = (($nouveau) ? '' : " AND `item`.`parent` = `item`.`id` "); diff --git a/mod/profile.php b/mod/profile.php index a453f72f1..6d67ab74b 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -223,8 +223,10 @@ function profile_content(&$a, $update = 0) { ); } - if($is_owner && ! $update) + if($is_owner && ! $update) { $o .= get_birthdays(); + $o .= get_events(); + } $o .= conversation($a,$r,'profile',$update); -- cgit v1.2.3