diff options
author | admin <devnull@localhost> | 2006-10-10 09:12:31 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-10-10 09:12:31 +0200 |
commit | cf49390d3d699d878eb6e151745e80285465ddb9 (patch) | |
tree | fa66a6ae5d96f9cf828ecc86435e5dbde9fa285b /system/libraries/Model.php | |
parent | ada5fa37c19c2f7f3de210869dca6243ca9b4174 (diff) |
Diffstat (limited to 'system/libraries/Model.php')
-rw-r--r-- | system/libraries/Model.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Model.php b/system/libraries/Model.php index 46f0367cb..48615e07c 100644 --- a/system/libraries/Model.php +++ b/system/libraries/Model.php @@ -51,8 +51,8 @@ class Model { { $CI =& get_instance(); foreach (get_object_vars($CI) as $key => $var) - { - if (is_object($var) AND ! isset($this->$key)) + { + if ( ! isset($this->$key)) { if ($use_reference === TRUE) { |