From 06f23deb799fb6e1e257af0cea6a7c845be92728 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sat, 14 Aug 2004 19:33:59 +0000 Subject: [PATCH] minor code standardization --- includes/Article.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Article.php b/includes/Article.php index 677b163cd9..0ae0908780 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -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; } -- 2.20.1