Commit 3641f09f authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Require activity.php before calling activity_occurred()

parent 09fece49
......@@ -311,6 +311,7 @@ function addmember_submit(Pieform $form, $values) {
insert_record('group_member', $data);
delete_records('group_member_request', 'member', $userid, 'group', $data->group);
$lang = get_user_language($userid);
require_once(get_config('libroot') . 'activity.php');
activity_occurred('maharamessage',
array('users' => array($userid),
'subject' => get_string_from_language($lang, 'addedtogroupsubject', 'group'),
......
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