mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-05 19:12:42 +00:00
parent
0b508b887a
commit
002700071d
2 changed files with 11 additions and 1 deletions
|
@ -2574,7 +2574,11 @@ class DboSource extends DataSource {
|
|||
$value = $this->value($value, $type);
|
||||
|
||||
if (!$virtual && $key !== '?') {
|
||||
$isKey = (strpos($key, '(') !== false || strpos($key, ')') !== false);
|
||||
$isKey = (
|
||||
strpos($key, '(') !== false ||
|
||||
strpos($key, ')') !== false ||
|
||||
strpos($key, '|') !== false
|
||||
);
|
||||
$key = $isKey ? $this->_quoteFields($key) : $this->name($key);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue