OSB Mod: Update to KH Database for OSB
This commit is contained in:
parent
ba3c9d60aa
commit
8715a2059b
@ -76,6 +76,10 @@ class Kohana_Database_Query_Builder_Select extends Database_Query_Builder_Where
|
||||
{
|
||||
$columns = func_get_args();
|
||||
|
||||
// Ignore our default select of .* if we already have some selected columns.
|
||||
if (count($columns) == 1 AND is_string($columns[0]) AND preg_match('/\.\*$/',$columns[0]) AND $this->_select)
|
||||
return $this;
|
||||
|
||||
$this->_select = array_merge($this->_select, $columns);
|
||||
|
||||
return $this;
|
||||
|
Reference in New Issue
Block a user