Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/auditacts.php')
-rw-r--r--frontends/php/auditacts.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/frontends/php/auditacts.php b/frontends/php/auditacts.php
index 0af2d6b3b80..c2f9d2acc62 100644
--- a/frontends/php/auditacts.php
+++ b/frontends/php/auditacts.php
@@ -39,10 +39,6 @@ $fields = array(
'filter_set' => array(T_ZBX_STR, O_OPT, P_SYS, null, null),
'alias' => array(T_ZBX_STR, O_OPT, P_SYS, null, null),
'period' => array(T_ZBX_INT, O_OPT, null, null, null),
- 'dec' => array(T_ZBX_INT, O_OPT, null, null, null),
- 'inc' => array(T_ZBX_INT, O_OPT, null, null, null),
- 'left' => array(T_ZBX_INT, O_OPT, null, null, null),
- 'right' => array(T_ZBX_INT, O_OPT, null, null, null),
'stime' => array(T_ZBX_STR, O_OPT, null, null, null),
// ajax
'filterState' => array(T_ZBX_INT, O_OPT, P_ACT, null, null),
@@ -155,7 +151,7 @@ if ($userId) {
$firstAlert = DBfetch(DBselect(
'SELECT MIN(a.clock) AS clock'.
' FROM alerts a'.
- ' WHERE a.userid='.$userId
+ ' WHERE a.userid='.zbx_dbstr($userId)
));
}
elseif ($data['alias'] === '') {