commit | 2bc13859b72ceb8400d37adbba52b8404995bf03 | [log] [tgz] |
---|---|---|
author | admin <devnull@localhost> | Tue Oct 24 23:16:17 2006 +0000 |
committer | admin <devnull@localhost> | Tue Oct 24 23:16:17 2006 +0000 |
tree | d8dbe120776f1564525adfef6bc1b30c5516a98f | |
parent | 25701d75807a3fc8707c8afdb5d43062acfcf88e [diff] [blame] |
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php index 7c42123..f243a28 100644 --- a/system/libraries/Loader.php +++ b/system/libraries/Loader.php
@@ -837,6 +837,11 @@ */ function _ci_assign_to_models() { + if (count($this->_ci_models) == 0) + { + return; + } + if ($this->_ci_is_instance()) { $CI =& get_instance();