commit | 954246e23f7bc01d0c8d7b72e81e9ea4b376fd0c | [log] [tgz] |
---|---|---|
author | admin <devnull@localhost> | Tue Sep 26 07:52:22 2006 +0000 |
committer | admin <devnull@localhost> | Tue Sep 26 07:52:22 2006 +0000 |
tree | 3be4200f992fb22f29e9ceb339b3b7b87a78a278 | |
parent | 7981a9a752c339611ae10a252469f9dbc266fb96 [diff] [blame] |
diff --git a/system/scaffolding/Scaffolding.php b/system/scaffolding/Scaffolding.php index 4b6ebee..9059ec1 100644 --- a/system/scaffolding/Scaffolding.php +++ b/system/scaffolding/Scaffolding.php
@@ -34,9 +34,12 @@ function Scaffolding($db_table) { $obj =& get_instance(); - foreach ($obj->ci_is_loaded as $val) + foreach (get_object_vars($obj) as $key => $var) { - $this->$val =& $obj->$val; + if (is_object($var)) + { + $this->$key =& $obj->$key; + } } /**