Commit d1d69cf6 authored by Donal McMullan's avatar Donal McMullan

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

parent b2f8451c
......@@ -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