Skip to content

Commit

Permalink
* gpc_api.php
Browse files Browse the repository at this point in the history
  (gpc_strip_slashes): make it handle nested arrays recursively


git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1584 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Julian Fitzell committed Oct 23, 2002
1 parent f4ac810 commit 559a1fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/gpc_api.php
Expand Up @@ -6,7 +6,7 @@
# See the files README and LICENSE for details

# --------------------------------------------------------
# $Id: gpc_api.php,v 1.11 2002-10-10 02:02:46 vboctor Exp $
# $Id: gpc_api.php,v 1.12 2002-10-23 00:57:20 jfitzell Exp $
# --------------------------------------------------------

###########################################################################
Expand Down Expand Up @@ -263,7 +263,7 @@ function gpc_strip_slashes( $p_var ) {
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;
}
Expand Down

0 comments on commit 559a1fa

Please sign in to comment.