minor code standardization
authorAntoine Musso <hashar@users.mediawiki.org>
Sat, 14 Aug 2004 19:33:59 +0000 (19:33 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sat, 14 Aug 2004 19:33:59 +0000 (19:33 +0000)
includes/Article.php

index 677b163..0ae0908 100644 (file)
@@ -1321,7 +1321,7 @@ class Article {
 
                        #if this is empty, an earlier revision may contain "useful" text
                        $blanked = false;
-                       if($s->cur_text!="") {
+                       if($s->cur_text != '') {
                                $text=$s->cur_text;
                        } else {
                                if($old) {
@@ -1456,7 +1456,7 @@ class Article {
                $t = $this->mTitle->getDBkey();
                $id = $this->mTitle->getArticleID();
 
-               if ( '' == $t || $id == 0 ) {
+               if ( $t == '' || $id == 0 ) {
                        return false;
                }