Author: ralfbecker
New Revision: 56026
URL: http://svn.stylite.de/viewvc/egroupware?rev=56026&view=rev
Log:
using global array_stripslashes function
Modified:
trunk/etemplate/inc/class.etemplate.inc.php
trunk/infolog/inc/class.infolog_ui.inc.php
— trunk/etemplate/inc/class.etemplate.inc.php (original)
+++ trunk/etemplate/inc/class.etemplate.inc.php Thu May 5 09:22:37 2016
@@ -2188,18 +2188,11 @@
*
* @param array &$var
* @return array
-
-
@deprecated use global array_stripslashes
*/
static function array_stripslashes($var)
{
-
if (!is_array($var))
-
{
-
return stripslashes($var);
-
}
-
foreach($var as $key => $val)
-
{
-
$var[$key] = is_array($val) ? self::array_stripslashes($val) : stripslashes($val);
-
}
-
return $var;
-
return array_stripslashes($var);
}
/**
@@ -2229,7 +2222,7 @@
$content = array();
if (get_magic_quotes_gpc())
{
— trunk/infolog/inc/class.infolog_ui.inc.php (original)
+++ trunk/infolog/inc/class.infolog_ui.inc.php Thu May 5 09:22:37 2016
@@ -2375,29 +2375,6 @@
}
/**
-
- stripping slashes from an array
-
-
-
-
- */
- function array_stripslashes($arr)
- {
-
foreach($arr as $key => $val)
-
{
-
if (is_array($val))
-
{
-
$arr[$key] = self::array_stripslashes($val);
-
}
-
else
-
{
-
$arr[$key] = stripslashes($val);
-
}
-
}
-
return $arr;
- }
-
- /**
- Infolog’s site configuration
-
*/
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs