more query refactoring.

This commit is contained in:
Taylor Otwell 2011-08-21 12:21:22 -05:00
parent 684bbebb5c
commit 43f7e9e22d
1 changed files with 1 additions and 4 deletions

View File

@ -531,10 +531,7 @@ public function first($columns = array('*'))
*/
public function get($columns = array('*'))
{
if (is_null($this->select))
{
$this->select($columns);
}
if (is_null($this->select)) $this->select($columns);
$results = $this->connection->query($this->compiler->select($this), $this->bindings);