Update of /cvsroot/phplib/php-lib-stable/php
In directory usw-pr-cvs1:/tmp/cvs-serv13291/php
Modified Files:
user.inc
Log Message:
fixed [ #480851 ] "call by reference" warning in user.inc
Index: user.inc
===================================================================
RCS file: /cvsroot/phplib/php-lib-stable/php/user.inc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** user.inc 27 Aug 2001 01:07:22 -0000 1.3
--- user.inc 26 Feb 2002 06:26:11 -0000 1.4
***************
*** 63,68 ****
$str="";
! $this->serialize("this->in",&$str);
! $this->serialize("this->pt",&$str);
reset($this->pt);
--- 63,68 ----
$str="";
! $this->serialize("this->in", $str);
! $this->serialize("this->pt", $str);
reset($this->pt);
***************
*** 70,74 ****
$thing=trim($thing);
if ( $thing ) {
! $this->serialize("GLOBALS['".$thing."']",&$str);
}
}
--- 70,74 ----
$thing=trim($thing);
if ( $thing ) {
! $this->serialize("GLOBALS['".$thing."']", $str);
}
}
|