mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fixed wrong attribute name.
This commit is contained in:
parent
ef9dfe7f26
commit
f9b5d419cd
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ class DboSource extends DataSource {
|
|||
array(&$this, 'value'),
|
||||
$data, array_fill(0, count($data), $column)
|
||||
);
|
||||
} elseif (is_object($data) && isset($data->type, $data->type)) {
|
||||
} elseif (is_object($data) && isset($data->type, $data->value)) {
|
||||
if ($data->type == 'identifier') {
|
||||
return $this->name($data->value);
|
||||
} elseif ($data->type == 'expression') {
|
||||
|
|
Loading…
Add table
Reference in a new issue