Fixed wrong attribute name.

This commit is contained in:
Juan Basso 2011-02-26 14:06:50 -03:00
parent ef9dfe7f26
commit f9b5d419cd

View file

@ -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') {