Skip to content

Commit

Permalink
Fixed wrong attribute name.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbasso committed Feb 26, 2011
1 parent ef9dfe7 commit f9b5d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/model/datasources/dbo_source.php
Expand Up @@ -321,7 +321,7 @@ function value($data, $column = null) {
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') {
Expand Down

0 comments on commit f9b5d41

Please sign in to comment.