| @@ 1657-1661 (lines=5) @@ | ||
| 1654 | } |
|
| 1655 | } |
|
| 1656 | } elseif ( $value === null ) { |
|
| 1657 | if ( $mode == LIST_AND || $mode == LIST_OR ) { |
|
| 1658 | $list .= "$field IS "; |
|
| 1659 | } elseif ( $mode == LIST_SET ) { |
|
| 1660 | $list .= "$field = "; |
|
| 1661 | } |
|
| 1662 | $list .= 'NULL'; |
|
| 1663 | } else { |
|
| 1664 | if ( $mode == LIST_AND || $mode == LIST_OR || $mode == LIST_SET ) { |
|
| @@ 1664-1666 (lines=3) @@ | ||
| 1661 | } |
|
| 1662 | $list .= 'NULL'; |
|
| 1663 | } else { |
|
| 1664 | if ( $mode == LIST_AND || $mode == LIST_OR || $mode == LIST_SET ) { |
|
| 1665 | $list .= "$field = "; |
|
| 1666 | } |
|
| 1667 | $list .= $mode == LIST_NAMES ? $value : $this->addQuotes( $value ); |
|
| 1668 | } |
|
| 1669 | } |
|