diff options
Diffstat (limited to 'includes/specials/SpecialLockdb.php')
-rw-r--r-- | includes/specials/SpecialLockdb.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/specials/SpecialLockdb.php b/includes/specials/SpecialLockdb.php index 5859d5b2..8c701dd6 100644 --- a/includes/specials/SpecialLockdb.php +++ b/includes/specials/SpecialLockdb.php @@ -53,7 +53,7 @@ class DBLockForm { $wgOut->setPagetitle( wfMsg( 'lockdb' ) ); $wgOut->addWikiMsg( 'lockdbtext' ); - if ( "" != $err ) { + if ( $err != "" ) { $wgOut->setSubtitle( wfMsg( 'formerror' ) ); $wgOut->addHTML( '<p class="error">' . htmlspecialchars( $err ) . "</p>\n" ); } @@ -65,7 +65,7 @@ class DBLockForm { $reason = htmlspecialchars( $this->reason ); $token = htmlspecialchars( $wgUser->editToken() ); - $wgOut->addHTML( <<<END + $wgOut->addHTML( <<<HTML <form id="lockdb" method="post" action="{$action}"> {$elr}: <textarea name="wpLockReason" rows="10" cols="60" wrap="virtual">{$reason}</textarea> @@ -85,7 +85,7 @@ class DBLockForm { </table> <input type="hidden" name="wpEditToken" value="{$token}" /> </form> -END +HTML ); } |