From 0d29605b1e774efd57ffd8f5ccc8eaec1e9ca576 Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 27 Aug 2006 15:48:38 +0000 Subject: --- system/libraries/Controller.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'system/libraries/Controller.php') diff --git a/system/libraries/Controller.php b/system/libraries/Controller.php index 06e54b2d1..768b154e8 100644 --- a/system/libraries/Controller.php +++ b/system/libraries/Controller.php @@ -128,7 +128,8 @@ class Controller extends CI_Base { $name = $model; } - if (in_array($name, $this->_ci_models)) + $obj =& get_instance(); + if (in_array($name, $obj->_ci_models)) { return; } -- cgit v1.2.3-24-g4f1b