Follow-up r76660: typos per CR

This commit is contained in:
Raimond Spekking 2010-11-14 20:09:33 +00:00
parent f4b8681f22
commit 9ff6db3629
2 changed files with 2 additions and 2 deletions

2
README
View File

@ -51,7 +51,7 @@ a captcha test for sending contact messages by using the following:
$wgCaptchaTriggers['contactpage'] = true;
== Costumization ==
== Customization ==
[[Special:Contact]] calls the default formular.
Pagetext: [[MediaWiki:contactpage-pagetext]]

View File

@ -44,7 +44,7 @@ class SpecialContact extends SpecialPage {
$action = $wgRequest->getVal( 'action' );
$nu = User::newFromName( $wgContactUser );
if( is_null( $nu ) || !$nu->canReceiveEmail() ) {
if( is_null( $nu ) || $nu->canReceiveEmail() ) {
wfDebug( "Target is invalid user or can't receive.\n" );
$wgOut->showErrorPage( 'noemailtitle', 'noemailtext' );
return;