Index: trunk/extensions/ConfirmAccount/ConfirmAccount_body.php |
— | — | @@ -488,7 +488,7 @@ |
489 | 489 | $user->saveSettings(); // Save this into the DB |
490 | 490 | # Check if the user already confirmed email address |
491 | 491 | $dbw = wfGetDB( DB_MASTER ); |
492 | | - $dbw->update( 'user', |
| 492 | + $dbw->update( 'user', |
493 | 493 | array( 'user_email_authenticated' => $row->acr_email_authenticated, |
494 | 494 | 'user_email_token_expires' => $row->acr_email_token_expires, |
495 | 495 | 'user_email_token' => $row->acr_email_token ), |
— | — | @@ -506,7 +506,7 @@ |
507 | 507 | $userpage = new Article( $user->getUserPage() ); |
508 | 508 | |
509 | 509 | $autotext = strval($wgAutoUserBioText); |
510 | | - $body = $autotext ? "$body\n$autotext" : $body; |
| 510 | + $body = $autotext ? "{$row->acr_bio}\n{$autotext}" : $row->acr_bio; |
511 | 511 | |
512 | 512 | $userpage->doEdit( $body, wfMsg('confirmaccount-summary'), EDIT_MINOR ); |
513 | 513 | } |