Permalink
Browse files

Don't wrap certain proxy method args in array, fixes #4093

  • Loading branch information...
1 parent fa1ccfd commit 027d8385fdf0e1986bed16cbc262ce34d85a6dc2 @BRMatt BRMatt committed Jul 7, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 classes/kohana/orm.php
@@ -1886,7 +1886,7 @@ public function select($columns = NULL)
// Add pending database call which is executed after query type is determined
$this->_db_pending[] = array(
'name' => 'select',
- 'args' => array($columns),
+ 'args' => $columns,
);
return $this;
@@ -1906,7 +1906,7 @@ public function from($tables)
// Add pending database call which is executed after query type is determined
$this->_db_pending[] = array(
'name' => 'from',
- 'args' => array($tables),
+ 'args' => $tables,
);
return $this;
@@ -1963,7 +1963,7 @@ public function group_by($columns)
// Add pending database call which is executed after query type is determined
$this->_db_pending[] = array(
'name' => 'group_by',
- 'args' => array($columns),
+ 'args' => $columns,
);
return $this;

0 comments on commit 027d838

Please sign in to comment.