From: Rob Church Date: Fri, 6 Jul 2007 16:44:14 +0000 (+0000) Subject: Coding conventions - spacing X-Git-Tag: 1.31.0-rc.0~52243 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=75b634b7b2615f3504082d28083c2f3dbfd9a329;p=lhc%2Fweb%2Fwiklou.git Coding conventions - spacing --- diff --git a/includes/Article.php b/includes/Article.php index 0cb007abde..e8ab1b282c 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2263,9 +2263,9 @@ class Article { $wgOut->addHTML( '

' . htmlspecialchars( $newComment ) . "

\n
\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 );