Commit 165fabc6 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Fixed no admin thing available when sending an email validation message

parent 1bc91fe0
......@@ -156,6 +156,7 @@ function profileform_submit(Pieform $form, $values) {
'firstname' => $USER->get('firstname'),
'lastname' => $USER->get('lastname'),
'preferredname' => $USER->get('preferredname'),
'admin' => $USER->get('admin'),
'email' => $email,
),
null,
......
Supports Markdown
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