Code Duplication    Length = 5-5 lines in 2 locations

includes/libs/rdbms/database/Database.php 2 locations

@@ 1606-1610 (lines=5) @@
1603
					}
1604
				}
1605
			} elseif ( $value === null ) {
1606
				if ( $mode == self::LIST_AND || $mode == self::LIST_OR ) {
1607
					$list .= "$field IS ";
1608
				} elseif ( $mode == self::LIST_SET ) {
1609
					$list .= "$field = ";
1610
				}
1611
				$list .= 'NULL';
1612
			} else {
1613
				if (
@@ 1613-1617 (lines=5) @@
1610
				}
1611
				$list .= 'NULL';
1612
			} else {
1613
				if (
1614
					$mode == self::LIST_AND || $mode == self::LIST_OR || $mode == self::LIST_SET
1615
				) {
1616
					$list .= "$field = ";
1617
				}
1618
				$list .= $mode == self::LIST_NAMES ? $value : $this->addQuotes( $value );
1619
			}
1620
		}