diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-11-26 20:47:30 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-11-26 20:47:30 -0800 |
commit | e79e0d1980f186edb97f242b378db8e5a7579db3 (patch) | |
tree | 912fcefe7898a6251451362a991f36761527b95e | |
parent | dee3ee81e2013f0b38e0f84123dec2ce12574bd7 (diff) |
Make ORM::__call() always return an ORM so that it's chainable.
-rw-r--r-- | system/libraries/ORM.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/ORM.php b/system/libraries/ORM.php index 1d1f48f5..eff22fc0 100644 --- a/system/libraries/ORM.php +++ b/system/libraries/ORM.php @@ -242,7 +242,7 @@ class ORM_Core { else { // Support for things like reset_select, reset_write, list_tables - return $this->db_builder->$method(); + $this->db_builder->$method(); } break; case 1: |