summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/func.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-26 07:59:00 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-26 07:59:00 +0000
commitdfbb4a4388893c8c86e2ca78ceb02091ac3ee499 (patch)
treed3e330d294525a3f714c4560c72119660ecc5d53 /frontends/php/include/func.inc.php
parent0524a8a2dfb101e926b5a092c32a3e7c4dbb2543 (diff)
downloadzabbix-dfbb4a4388893c8c86e2ca78ceb02091ac3ee499.tar.gz
zabbix-dfbb4a4388893c8c86e2ca78ceb02091ac3ee499.tar.xz
zabbix-dfbb4a4388893c8c86e2ca78ceb02091ac3ee499.zip
- [DEV-137] fixed screen save problem (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5794 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/func.inc.php')
-rw-r--r--frontends/php/include/func.inc.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/frontends/php/include/func.inc.php b/frontends/php/include/func.inc.php
index d3599abe..180b6e37 100644
--- a/frontends/php/include/func.inc.php
+++ b/frontends/php/include/func.inc.php
@@ -291,14 +291,4 @@ function str_in_array($needle,$haystack,$strict=false){
return false;
}
-function zbx_stripslashes($value){
- if(is_array($value)){
- foreach($value as $id => $data)
- $value[$id] = zbx_stripslashes($data);
- // $value = array_map('zbx_stripslashes',$value); /* don't use 'array_map' it buggy with indexes */
- } elseif (is_string($value)){
- $value = stripslashes($value);
- }
- return $value;
-}
?> \ No newline at end of file