Add missing disable_column_alias in ORM

This commit is contained in:
Deon George 2015-09-30 21:06:14 +10:00
parent 3291c7d850
commit c50a9c59ec

View File

@ -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;