[Phplib-commit] CVS: php-lib-stable/php oohforms.inc,1.4,1.5
Brought to you by:
nhruby,
richardarcher
From: Richard A. <ric...@us...> - 2002-04-28 19:44:55
|
Update of /cvsroot/phplib/php-lib-stable/php In directory usw-pr-cvs1:/tmp/cvs-serv21555 Modified Files: oohforms.inc Log Message: register_globals off fix for oohforms from Vinay Kumar / SANIsoft Index: oohforms.inc =================================================================== RCS file: /cvsroot/phplib/php-lib-stable/php/oohforms.inc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** oohforms.inc 28 Apr 2002 03:59:32 -0000 1.4 --- oohforms.inc 28 Apr 2002 04:05:30 -0000 1.5 *************** *** 17,23 **** function marshal_dispatch($m, $func) { $vname = $this->name; ! global $$vname; ! return $this->$func($$vname); } --- 17,23 ---- function marshal_dispatch($m, $func) { + global $HTTP_POST_VARS; $vname = $this->name; ! return $this->$func($HTTP_POST_VARS["$vname"]); } |