From: Antoine Musso Date: Sat, 14 Aug 2004 19:33:59 +0000 (+0000) Subject: minor code standardization X-Git-Tag: 1.5.0alpha1~2357 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=06f23deb799fb6e1e257af0cea6a7c845be92728;p=lhc%2Fweb%2Fwiklou.git minor code standardization --- 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; }