diff options
Diffstat (limited to 'includes/specials/SpecialUnlockdb.php')
-rw-r--r-- | includes/specials/SpecialUnlockdb.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/specials/SpecialUnlockdb.php b/includes/specials/SpecialUnlockdb.php index a3e8a0c4..fe38a48a 100644 --- a/includes/specials/SpecialUnlockdb.php +++ b/includes/specials/SpecialUnlockdb.php @@ -45,7 +45,7 @@ class DBUnlockForm { $wgOut->setPagetitle( wfMsg( "unlockdb" ) ); $wgOut->addWikiMsg( "unlockdbtext" ); - if ( "" != $err ) { + if ( $err != "" ) { $wgOut->setSubtitle( wfMsg( "formerror" ) ); $wgOut->addHTML( '<p class="error">' . htmlspecialchars( $err ) . "</p>\n" ); } @@ -55,7 +55,7 @@ class DBUnlockForm { $action = $titleObj->escapeLocalURL( "action=submit" ); $token = htmlspecialchars( $wgUser->editToken() ); - $wgOut->addHTML( <<<END + $wgOut->addHTML( <<<HTML <form id="unlockdb" method="post" action="{$action}"> <table border="0"> @@ -74,7 +74,7 @@ class DBUnlockForm { </table> <input type="hidden" name="wpEditToken" value="{$token}" /> </form> -END +HTML ); } |