Skip to content

Commit

Permalink
fixed: send custom text when adding users
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Nov 4, 2019
1 parent f9c9c36 commit d336e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function group_tools_add_user(ElggGroup $group, ElggUser $user, $text = "") {
return false;
}

return elgg_call(ELGG_IGNORE_ACCESS, function() use ($group, $user, $loggedin_user) {
return elgg_call(ELGG_IGNORE_ACCESS, function() use ($group, $user, $loggedin_user, $text) {

if (!$group->join($user)) {
return false;
Expand Down

0 comments on commit d336e40

Please sign in to comment.