aboutsummaryrefslogtreecommitdiff
path: root/mod/blog
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-26 15:11:20 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-26 15:11:20 +0000
commit33dc3921aa7adb28d0812a22ff9ff86c124af6f2 (patch)
tree591b9df06505fa509102d543312213e95148a583 /mod/blog
parentd079f3ce5d6df2d3ca4b5900457a68858ecde629 (diff)
downloadelgg-33dc3921aa7adb28d0812a22ff9ff86c124af6f2.tar.gz
elgg-33dc3921aa7adb28d0812a22ff9ff86c124af6f2.tar.bz2
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
Diffstat (limited to 'mod/blog')
-rw-r--r--mod/blog/start.php2
1 files changed, 1 insertions, 1 deletions
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",