Commit 18558e66 authored by cicalese's avatar cicalese
Browse files

fixed null user id

Change-Id: I3b4a4edac3cb35f3931175259c234b4d012b4e6c
parent 56738cec
......@@ -237,7 +237,7 @@ abstract class PluggableAuth {
if ( $authorized ) {
if ( $new_user ) {
$user->addToDatabase();
$instance->saveExtraAttributes( $id );
$instance->saveExtraAttributes( $user->mId );
wfDebug( "Added new user: " . $username . PHP_EOL );
} else {
self::updateUser( $user, $realname, $email );
......
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