From 729e4ac72dcfb8afd8b5ea29d1466105c7e9b761 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 23 Feb 2009 18:10:07 +0000 Subject: You should no longer get notified of your own topic posts. git-svn-id: https://code.elgg.org/elgg/trunk@2906 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/groups/start.php') diff --git a/mod/groups/start.php b/mod/groups/start.php index 62e786f6f..f9ea4f404 100644 --- a/mod/groups/start.php +++ b/mod/groups/start.php @@ -126,7 +126,7 @@ $entity = $params['entity']; $to_entity = $params['to_entity']; $method = $params['method']; - if (($entity instanceof ElggEntity) && ($entity->getSubtype() == 'groupforumtopic')) + if (($entity instanceof ElggEntity) && ($to_entity->guid != $entity->owner_guid) && ($entity->getSubtype() == 'groupforumtopic')) { $descr = $entity->description; -- cgit v1.2.3