From: <ok...@us...> - 2003-01-05 19:56:16
|
Update of /cvsroot/xoops/xoops2/kernel/object/object In directory sc8-pr-cvs1:/tmp/cvs-serv14581/kernel/object/object Modified Files: object.php Log Message: changed setVar to assignVar in clone() Index: object.php =================================================================== RCS file: /cvsroot/xoops/xoops2/kernel/object/object/object.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** object.php 5 Jan 2003 19:28:38 -0000 1.5 --- object.php 5 Jan 2003 19:56:13 -0000 1.6 *************** *** 424,428 **** $clone = new $class(); foreach ($this->vars as $k => $v) { ! $clone->setVar($k, $v['value'], false); } // need this to notify the manager class that this is a newly created object --- 424,428 ---- $clone = new $class(); foreach ($this->vars as $k => $v) { ! $clone->assignVar($k, $v['value']); } // need this to notify the manager class that this is a newly created object |