Commit e2686fb7 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie

Added some more information for user emailing, so notices don't appear

in the logs
parent 647d5c95
......@@ -164,11 +164,13 @@ function profileform_submit(Pieform $form, $values) {
try {
email_user(
(object)array(
'id' => $USER->get('id'),
'username' => $USER->get('username'),
'firstname' => $USER->get('firstname'),
'lastname' => $USER->get('lastname'),
'preferredname' => $USER->get('preferredname'),
'admin' => $USER->get('admin'),
'staff' => $USER->get('staff'),
'email' => $email,
),
null,
......
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