From 85c42410d72441d4c87403540094a73d6246917a Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 23 Feb 2009 14:01:33 +0000 Subject: new group edit options on discussion git-svn-id: https://code.elgg.org/elgg/trunk@2895 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/views/default/forum/topicposts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/groups/views/default') diff --git a/mod/groups/views/default/forum/topicposts.php b/mod/groups/views/default/forum/topicposts.php index dd86c6679..5b259d13f 100644 --- a/mod/groups/views/default/forum/topicposts.php +++ b/mod/groups/views/default/forum/topicposts.php @@ -48,8 +48,8 @@ canEdit() || ($vars['entity']->owner_guid == $_SESSION['user']->guid)) { + //if the comment owner is looking at it, or admin, or group owner they can edit + if (groups_can_edit_discussion($vars['entity'], page_owner_entity()->owner_guid)) { ?>