diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-31 16:09:35 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-31 16:09:35 +0000 |
| commit | d07f777ed2cf0103ed550166f9b0e783db064255 (patch) | |
| tree | fb331ae19aff60bdf2cea11bd99e34a99f45bc1d /frontends/php/include/audit.inc.php | |
| parent | 78776cf62621df9e12f0b791753174e638440efe (diff) | |
Getting rid of addslashes.
git-svn-id: svn://svn.zabbix.com/trunk@2592 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/audit.inc.php')
| -rw-r--r-- | frontends/php/include/audit.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/frontends/php/include/audit.inc.php b/frontends/php/include/audit.inc.php index 5364e121..20957b1c 100644 --- a/frontends/php/include/audit.inc.php +++ b/frontends/php/include/audit.inc.php @@ -23,10 +23,9 @@ { global $USER_DETAILS; - $details=addslashes($details); $userid=$USER_DETAILS["userid"]; $clock=time(); - $sql="insert into audit (userid,clock,action,resource,details) values ($userid,$clock,$action,$resource,'$details')"; + $sql="insert into audit (userid,clock,action,resource,details) values ($userid,$clock,$action,$resource,'".zbx_ads($details)."')"; return DBexecute($sql); } ?> |
