Index: trunk/phase3/includes/Database.php |
— | — | @@ -996,9 +996,9 @@ |
997 | 997 | $list .= $field." IN (".$this->makeList($value).") "; |
998 | 998 | } else { |
999 | 999 | if ( $mode == LIST_AND || $mode == LIST_SET ) { |
1000 | | - $list .= $field.'='; |
| 1000 | + $list .= "$field = "; |
1001 | 1001 | } |
1002 | | - $list .= ($mode==LIST_NAMES?$value:$this->addQuotes( $value )); |
| 1002 | + $list .= $mode == LIST_NAMES ? $value : $this->addQuotes( $value ); |
1003 | 1003 | } |
1004 | 1004 | } |
1005 | 1005 | return $list; |