Commit 062dcfb0 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

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

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