summaryrefslogtreecommitdiffstats
path: root/frontends/php/config.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-31 16:09:35 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-31 16:09:35 +0000
commitd07f777ed2cf0103ed550166f9b0e783db064255 (patch)
treefb331ae19aff60bdf2cea11bd99e34a99f45bc1d /frontends/php/config.php
parent78776cf62621df9e12f0b791753174e638440efe (diff)
Getting rid of addslashes.
git-svn-id: svn://svn.zabbix.com/trunk@2592 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/config.php')
-rw-r--r--frontends/php/config.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/php/config.php b/frontends/php/config.php
index ee2d7274..889497bd 100644
--- a/frontends/php/config.php
+++ b/frontends/php/config.php
@@ -105,7 +105,7 @@
if($result)
{
add_audit($action,AUDIT_RESOURCE_MEDIA_TYPE,
- "Media type [".addslashes($_REQUEST["description"])."]");
+ "Media type [".zbx_ads($_REQUEST["description"])."]");
unset($_REQUEST["form"]);
}
@@ -190,7 +190,7 @@
if($result)
{
add_audit($audit_action, AUDIT_RESOURCE_AUTOREGISTRATION,
- "Autoregistration [".addslashes($_REQUEST["pattern"])."]");
+ "Autoregistration [".zbx_ads($_REQUEST["pattern"])."]");
unset($_REQUEST["form"]);
}
@@ -202,7 +202,7 @@
if($result)
{
add_audit(AUDIT_ACTION_DELETE,AUDIT_RESOURCE_AUTOREGISTRATION,
- "Autoregistration [".addslashes($_REQUEST["pattern"])."]");
+ "Autoregistration [".zbx_ads($_REQUEST["pattern"])."]");
}
show_messages($result, S_AUTOREGISTRATION_DELETED, S_AUTOREGISTRATION_WAS_NOT_DELETED);
}