Commit 4b79f1c8 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Better url on group membership request messages (bug 3200)

parent 209ec4b0
......@@ -99,7 +99,7 @@ function requestjoingroup_submit(Pieform $form, $values) {
'users' => array($groupadmin),
'subject' => get_string_from_language($adminlang, 'grouprequestsubject', 'group'),
'message' => $message,
'url' => get_config('wwwroot') . 'group/view.php?id=' . $group->id));
'url' => get_config('wwwroot') . 'group/members.php?id=' . $group->id . '&membershiptype=request'));
}
$SESSION->add_ok_msg(get_string('grouprequestsent', 'group'));
redirect($goto);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment