From 33dc3921aa7adb28d0812a22ff9ff86c124af6f2 Mon Sep 17 00:00:00 2001 From: nickw Date: Wed, 26 May 2010 15:11:20 +0000 Subject: Ensuring Blogs and Forum links display properly in the group ownerblock. git-svn-id: http://code.elgg.org/elgg/trunk@6230 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/blog/start.php') diff --git a/mod/blog/start.php b/mod/blog/start.php index 0a07b3ced..d18f011c5 100644 --- a/mod/blog/start.php +++ b/mod/blog/start.php @@ -198,7 +198,7 @@ function blog_ecml_views_hook($hook, $entity_type, $return_value, $params) { function blog_profile_menu($hook, $entity_type, $return_value, $params) { global $CONFIG; - if (get_context() != 'groups') { + if (!($params['owner'] instanceof ElggGroup)) { $return_value[] = array( 'text' => elgg_echo('blog'), 'href' => "{$CONFIG->url}pg/blog/{$params['owner']->username}/read", -- cgit v1.2.3