Commit 4495257f authored by Nigel McNie's avatar Nigel McNie
Browse files

Ensure that the first time the admin user sets their email address, it gets...

Ensure that the first time the admin user sets their email address, it gets set properly in the usr table.
parent d2cb87ed
......@@ -430,6 +430,7 @@ class ArtefactTypeEmail extends ArtefactTypeProfileField {
'artefact' => $this->id,
)
);
update_record('usr', (object)array('email' => $this->title, 'id' => $this->owner));
}
}
}
......
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