| @@ 1742-1746 (lines=5) @@ | ||
| 1739 | } |
|
| 1740 | } |
|
| 1741 | } elseif ( $value === null ) { |
|
| 1742 | if ( $mode == LIST_AND || $mode == LIST_OR ) { |
|
| 1743 | $list .= "$field IS "; |
|
| 1744 | } elseif ( $mode == LIST_SET ) { |
|
| 1745 | $list .= "$field = "; |
|
| 1746 | } |
|
| 1747 | $list .= 'NULL'; |
|
| 1748 | } else { |
|
| 1749 | if ( $mode == LIST_AND || $mode == LIST_OR || $mode == LIST_SET ) { |
|
| @@ 1749-1751 (lines=3) @@ | ||
| 1746 | } |
|
| 1747 | $list .= 'NULL'; |
|
| 1748 | } else { |
|
| 1749 | if ( $mode == LIST_AND || $mode == LIST_OR || $mode == LIST_SET ) { |
|
| 1750 | $list .= "$field = "; |
|
| 1751 | } |
|
| 1752 | $list .= $mode == LIST_NAMES ? $value : $this->addQuotes( $value ); |
|
| 1753 | } |
|
| 1754 | } |
|