| @@ 1749-1753 (lines=5) @@ | ||
| 1746 | } |
|
| 1747 | } |
|
| 1748 | } elseif ( $value === null ) { |
|
| 1749 | if ( $mode == LIST_AND || $mode == LIST_OR ) { |
|
| 1750 | $list .= "$field IS "; |
|
| 1751 | } elseif ( $mode == LIST_SET ) { |
|
| 1752 | $list .= "$field = "; |
|
| 1753 | } |
|
| 1754 | $list .= 'NULL'; |
|
| 1755 | } else { |
|
| 1756 | if ( $mode == LIST_AND || $mode == LIST_OR || $mode == LIST_SET ) { |
|
| @@ 1756-1758 (lines=3) @@ | ||
| 1753 | } |
|
| 1754 | $list .= 'NULL'; |
|
| 1755 | } else { |
|
| 1756 | if ( $mode == LIST_AND || $mode == LIST_OR || $mode == LIST_SET ) { |
|
| 1757 | $list .= "$field = "; |
|
| 1758 | } |
|
| 1759 | $list .= $mode == LIST_NAMES ? $value : $this->addQuotes( $value ); |
|
| 1760 | } |
|
| 1761 | } |
|