Revize c478920d
Přidáno uživatelem Ondřej Fibich před asi 9 roky(ů)
system/libraries/ORM.php | ||
---|---|---|
|
||
if ( ! isset($this->db_applied['select']))
|
||
{
|
||
// there are at least 1 ignored column, select columns manually
|
||
if (count($this->ignored_columns) > 0)
|
||
{
|
||
// removes ignored columns from all columnns
|
||
$columns = array_diff(
|
||
array_keys($this->table_columns),
|
||
$this->ignored_columns
|
||
);
|
||
|
||
// append table name to column name
|
||
foreach ($columns as $i => $column)
|
||
$columns[$i] = $this->table_name . '.' . $column;
|
||
|
||
$this->db->select($columns);
|
||
}
|
||
else
|
||
{
|
||
// Select all columns by default
|
||
$this->db->select($this->table_name.'.*');
|
||
}
|
||
// Select all columns by default
|
||
$this->db->select($this->table_name.'.*');
|
||
}
|
||
|
||
if ( ! empty($this->load_with))
|
Také k dispozici: Unified diff
Undo my stupid mistake (I have pushed issue-957 to master instead of develop). Do I have copied files from GitHub master and push them back..