summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-11-26 20:47:30 -0800
committerBharat Mediratta <bharat@menalto.com>2009-11-26 20:47:30 -0800
commite79e0d1980f186edb97f242b378db8e5a7579db3 (patch)
tree912fcefe7898a6251451362a991f36761527b95e /system
parentdee3ee81e2013f0b38e0f84123dec2ce12574bd7 (diff)
Make ORM::__call() always return an ORM so that it's chainable.
Diffstat (limited to 'system')
-rw-r--r--system/libraries/ORM.php2
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: