Add missing disable_column_alias in ORM
This commit is contained in:
parent
3291c7d850
commit
c50a9c59ec
@ -1063,7 +1063,7 @@ class Kohana_ORM extends Model implements serializable {
|
||||
|
||||
foreach ($this->_table_columns as $column => $_)
|
||||
{
|
||||
$columns[] = array($this->_object_name.'.'.$column, $column);
|
||||
$columns[] = $this->_disable_column_alias ? $column : array($this->_object_name.'.'.$column, $column);
|
||||
}
|
||||
|
||||
return $columns;
|
||||
|
Reference in New Issue
Block a user