Coding conventions - spacing
authorRob Church <robchurch@users.mediawiki.org>
Fri, 6 Jul 2007 16:44:14 +0000 (16:44 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Fri, 6 Jul 2007 16:44:14 +0000 (16:44 +0000)
includes/Article.php

index 0cb007a..e8ab1b2 100644 (file)
@@ -2263,9 +2263,9 @@ class Article {
                $wgOut->addHTML( '<h2>' . htmlspecialchars( $newComment ) . "</h2>\n<hr />\n" );
 
                $flags = EDIT_UPDATE | EDIT_MINOR;
-               if($bot)
+               if( $bot )
                        $flags |= EDIT_FORCE_BOT;
-               if(!$this->doEdit( $target->getText(), $newComment, $flags))
+               if( !$this->doEdit( $target->getText(), $newComment, $flags ) )
                        ;       # todo: this error case has not been handled? Use db transactions?
 
                $wgOut->returnToMain( false );