|
@@ 1641-1649 (lines=9) @@
|
| 1638 |
|
|
| 1639 |
|
foreach ($multiple as $key => $val) { |
| 1640 |
|
// Add the table name in case of ambiguous columns |
| 1641 |
|
if (count($result->_join_sources) > 0 && strpos($key, '.') === false) { |
| 1642 |
|
|
| 1643 |
|
$table = $result->_table_name; |
| 1644 |
|
if (null !== $result->_table_alias) { |
| 1645 |
|
$table = $result->_table_alias; |
| 1646 |
|
} |
| 1647 |
|
|
| 1648 |
|
$key = "{$table}.{$key}"; |
| 1649 |
|
} |
| 1650 |
|
$key = $result->_quote_identifier($key); |
| 1651 |
|
$result = $result->_add_condition($type, "{$key} {$separator} ?", $val); |
| 1652 |
|
} |
|
@@ 1676-1684 (lines=9) @@
|
| 1673 |
|
|
| 1674 |
|
foreach ($multiple as $key => $val) { |
| 1675 |
|
// Add the table name in case of ambiguous columns |
| 1676 |
|
if (count($result->_join_sources) > 0 && strpos($key, '.') === false) { |
| 1677 |
|
|
| 1678 |
|
$table = $result->_table_name; |
| 1679 |
|
if (!is_null($result->_table_alias)) { |
| 1680 |
|
$table = $result->_table_alias; |
| 1681 |
|
} |
| 1682 |
|
|
| 1683 |
|
$key = "{$table}.{$key}"; |
| 1684 |
|
} |
| 1685 |
|
$key = 'DATE(' . $result->_quote_identifier($key) . ')'; |
| 1686 |
|
$result = $result->_add_condition($type, "{$key} {$separator} ?", $val); |
| 1687 |
|
} |