From: Ævar Arnfjörð Bjarmason Date: Thu, 21 Jul 2005 21:05:02 +0000 (+0000) Subject: * Formattingofcondensedcode X-Git-Tag: 1.5.0beta4~74 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=58acbe58d8fde69ba860f77fd3155d5c36f84d02;p=lhc%2Fweb%2Fwiklou.git * Formattingofcondensedcode --- diff --git a/includes/Database.php b/includes/Database.php index ead81b01c6..16f277e299 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -996,9 +996,9 @@ class Database { $list .= $field." IN (".$this->makeList($value).") "; } else { if ( $mode == LIST_AND || $mode == LIST_SET ) { - $list .= $field.'='; + $list .= "$field = "; } - $list .= ($mode==LIST_NAMES?$value:$this->addQuotes( $value )); + $list .= $mode == LIST_NAMES ? $value : $this->addQuotes( $value ); } } return $list;