summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-08-27 17:48:38 +0200
committeradmin <devnull@localhost>2006-08-27 17:48:38 +0200
commit0d29605b1e774efd57ffd8f5ccc8eaec1e9ca576 (patch)
tree6a5673555a5f3197d70a018ed7eaa395e280f63b /system/libraries
parentb4473d4407311cc5e4b2306cf5fa51221d5826f8 (diff)
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Controller.php3
1 files changed, 2 insertions, 1 deletions
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;
}