aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups')
-rw-r--r--mod/groups/start.php4
-rw-r--r--mod/groups/views/default/forms/groups/edit.php2
2 files changed, 5 insertions, 1 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index d85bb6492..193b72a4e 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -943,6 +943,10 @@ function discussion_create_reply_notification($hook, $type, $message, $params) {
function discussion_reply_notifications($event, $type, $annotation) {
global $CONFIG, $NOTIFICATION_HANDLERS;
+ if ($annotation->name !== 'group_topic_post') {
+ return;
+ }
+
// Have we registered notifications for this type of entity?
$object_type = 'object';
$object_subtype = 'groupforumtopic';
diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php
index 26436ef01..8055b6430 100644
--- a/mod/groups/views/default/forms/groups/edit.php
+++ b/mod/groups/views/default/forms/groups/edit.php
@@ -55,7 +55,7 @@ if ($group_profile_fields > 0) {
<div>
<label>
<?php echo elgg_echo('groups:membership'); ?><br />
- <?php echo elgg_view('input/access', array(
+ <?php echo elgg_view('input/dropdown', array(
'name' => 'membership',
'value' => $membership,
'options_values' => array(