aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/start.php4
-rw-r--r--mod/groups/views/default/forms/groups/edit.php2
-rw-r--r--mod/messages/pages/messages/read.php2
3 files changed, 6 insertions, 2 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(
diff --git a/mod/messages/pages/messages/read.php b/mod/messages/pages/messages/read.php
index d41551be4..19e3ecdd7 100644
--- a/mod/messages/pages/messages/read.php
+++ b/mod/messages/pages/messages/read.php
@@ -9,7 +9,7 @@ gatekeeper();
$message = get_entity(get_input('guid'));
if (!$message) {
- forward();
+ forward('messages/inbox');
}
// mark the message as read