r26490 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26489‎ | r26490 | r26491 >
Date:03:12, 8 October 2007
Author:aaron
Status:old
Tags:
Comment:
*Fix bad typo
Modified paths:
  • /trunk/extensions/ConfirmAccount/ConfirmAccount_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmAccount/ConfirmAccount_body.php
@@ -488,7 +488,7 @@
489489 $user->saveSettings(); // Save this into the DB
490490 # Check if the user already confirmed email address
491491 $dbw = wfGetDB( DB_MASTER );
492 - $dbw->update( 'user',
 492+ $dbw->update( 'user',
493493 array( 'user_email_authenticated' => $row->acr_email_authenticated,
494494 'user_email_token_expires' => $row->acr_email_token_expires,
495495 'user_email_token' => $row->acr_email_token ),
@@ -506,7 +506,7 @@
507507 $userpage = new Article( $user->getUserPage() );
508508
509509 $autotext = strval($wgAutoUserBioText);
510 - $body = $autotext ? "$body\n$autotext" : $body;
 510+ $body = $autotext ? "{$row->acr_bio}\n{$autotext}" : $row->acr_bio;
511511
512512 $userpage->doEdit( $body, wfMsg('confirmaccount-summary'), EDIT_MINOR );
513513 }

Status & tagging log