Commit 4689594d authored by Donal McMullan's avatar Donal McMullan
Browse files

Cast $user to array for handle_event('createiuser', $user);

parent 575b51b7
......@@ -188,7 +188,7 @@ class AuthXmlrpc extends Auth {
set_profile_field($user->id, 'lastname', $user->lastname);
set_profile_field($user->id, 'email', $user->email);
handle_event('createuser', $user);
handle_event('createuser', get_object_vars($user));
} elseif ($update) {
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