[PHPVortex-Commit] phpvortex SEC_Base.class.php,1.4,1.5
Brought to you by:
nop144666
From: Thiago R. <nop...@us...> - 2004-10-07 18:33:51
|
Update of /cvsroot/phpvortex/phpvortex In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24868 Modified Files: SEC_Base.class.php Log Message: Fixed a bug in SEC_Base constructor to allow some passing by reference Index: SEC_Base.class.php =================================================================== RCS file: /cvsroot/phpvortex/phpvortex/SEC_Base.class.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SEC_Base.class.php 6 Oct 2004 20:56:16 -0000 1.4 --- SEC_Base.class.php 7 Oct 2004 18:33:39 -0000 1.5 *************** *** 31,36 **** function SEC_Base($opts = array()) { ! foreach ($opts as $key => $value) { ! $this->$key =& $value; } } --- 31,37 ---- function SEC_Base($opts = array()) { ! $keys = array_keys($opts); ! foreach ($keys as $key) { ! $this->$key =& $opts[$key]; } } |