| @@ 1617-1621 (lines=5) @@ | ||
| 1614 | } |
|
| 1615 | } |
|
| 1616 | } elseif ( $value === null ) { |
|
| 1617 | if ( $mode == LIST_AND || $mode == LIST_OR ) { |
|
| 1618 | $list .= "$field IS "; |
|
| 1619 | } elseif ( $mode == LIST_SET ) { |
|
| 1620 | $list .= "$field = "; |
|
| 1621 | } |
|
| 1622 | $list .= 'NULL'; |
|
| 1623 | } else { |
|
| 1624 | if ( $mode == LIST_AND || $mode == LIST_OR || $mode == LIST_SET ) { |
|
| @@ 1624-1626 (lines=3) @@ | ||
| 1621 | } |
|
| 1622 | $list .= 'NULL'; |
|
| 1623 | } else { |
|
| 1624 | if ( $mode == LIST_AND || $mode == LIST_OR || $mode == LIST_SET ) { |
|
| 1625 | $list .= "$field = "; |
|
| 1626 | } |
|
| 1627 | $list .= $mode == LIST_NAMES ? $value : $this->addQuotes( $value ); |
|
| 1628 | } |
|
| 1629 | } |
|