| @@ 1576-1580 (lines=5) @@ | ||
| 1573 | } |
|
| 1574 | } |
|
| 1575 | } elseif ( $value === null ) { |
|
| 1576 | if ( $mode == LIST_AND || $mode == LIST_OR ) { |
|
| 1577 | $list .= "$field IS "; |
|
| 1578 | } elseif ( $mode == LIST_SET ) { |
|
| 1579 | $list .= "$field = "; |
|
| 1580 | } |
|
| 1581 | $list .= 'NULL'; |
|
| 1582 | } else { |
|
| 1583 | if ( $mode == LIST_AND || $mode == LIST_OR || $mode == LIST_SET ) { |
|
| @@ 1583-1585 (lines=3) @@ | ||
| 1580 | } |
|
| 1581 | $list .= 'NULL'; |
|
| 1582 | } else { |
|
| 1583 | if ( $mode == LIST_AND || $mode == LIST_OR || $mode == LIST_SET ) { |
|
| 1584 | $list .= "$field = "; |
|
| 1585 | } |
|
| 1586 | $list .= $mode == LIST_NAMES ? $value : $this->addQuotes( $value ); |
|
| 1587 | } |
|
| 1588 | } |
|