mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing issue with magic field values ({$__cake_ID__}) being quoted twice
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3464 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
198dab8a46
commit
93f7dd32ca
1 changed files with 2 additions and 0 deletions
|
@ -114,6 +114,8 @@ class DboSource extends DataSource {
|
|||
$out[$keys[$i]] = $this->value($data[$keys[$i]]);
|
||||
}
|
||||
return $out;
|
||||
} elseif (in_array($data, array('{$__cakeID__$}', '{$__cakeForeignKey__$}'))) {
|
||||
return $data;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue