summaryrefslogtreecommitdiffstats
path: root/system/libraries/Model.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-10 09:12:31 +0200
committeradmin <devnull@localhost>2006-10-10 09:12:31 +0200
commitcf49390d3d699d878eb6e151745e80285465ddb9 (patch)
treefa66a6ae5d96f9cf828ecc86435e5dbde9fa285b /system/libraries/Model.php
parentada5fa37c19c2f7f3de210869dca6243ca9b4174 (diff)
Diffstat (limited to 'system/libraries/Model.php')
-rw-r--r--system/libraries/Model.php4
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)
{