From: <jfi...@us...> - 2002-10-23 00:57:24
|
Update of /cvsroot/mantisbt/mantisbt/core In directory usw-pr-cvs1:/tmp/cvs-serv6773/core Modified Files: gpc_api.php Log Message: * gpc_api.php (gpc_strip_slashes): make it handle nested arrays recursively Index: gpc_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/gpc_api.php,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- gpc_api.php 10 Oct 2002 02:02:46 -0000 1.11 +++ gpc_api.php 23 Oct 2002 00:57:20 -0000 1.12 @@ -263,7 +263,7 @@ return stripslashes( $p_var ); } else { foreach ( $p_var as $key => $value ) { - $p_var[$key] = stripslashes( $value ); + $p_var[$key] = gpc_strip_slashes( $value ); return $p_var; } |