fixed bug in config has method.

This commit is contained in:
Taylor Otwell
2011-07-26 22:56:51 -05:00
parent 0f1bd8a739
commit 7e439ab52e
2 changed files with 5 additions and 3 deletions

View File

@@ -413,7 +413,6 @@ class Query {
*/
public function first($columns = array('*'))
{
return (count($results = $this->take(1)->get($columns)) > 0) ? $results[0] : null;
}