mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Minor optimization. Removing additional variable assignment.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8077 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
18a7115385
commit
ffc537aaa8
1 changed files with 1 additions and 1 deletions
|
@ -1906,7 +1906,7 @@ class DboSource extends DataSource {
|
|||
|
||||
$key = (strpos($key, '(') !== false || strpos($key, ')') !== false) ?
|
||||
$this->__quoteFields($key) :
|
||||
$key = $this->name($key);
|
||||
$this->name($key);
|
||||
|
||||
if ($bound) {
|
||||
return String::insert($key . ' ' . trim($operator), $value);
|
||||
|
|
Loading…
Add table
Reference in a new issue