From e79e0d1980f186edb97f242b378db8e5a7579db3 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 26 Nov 2009 20:47:30 -0800 Subject: Make ORM::__call() always return an ORM so that it's chainable. --- system/libraries/ORM.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') 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: -- cgit v1.2.3