Skip to content

Commit

Permalink
Make ORM::__call() always return an ORM so that it's chainable.
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Nov 27, 2009
1 parent dee3ee8 commit e79e0d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/libraries/ORM.php
Expand Up @@ -242,7 +242,7 @@ public function __call($method, array $args)
else
{
// Support for things like reset_select, reset_write, list_tables
return $this->db_builder->$method();
$this->db_builder->$method();
}
break;
case 1:
Expand Down

0 comments on commit e79e0d1

Please sign in to comment.