summaryrefslogtreecommitdiffstats
path: root/frontends/php/queue.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/queue.php')
-rw-r--r--frontends/php/queue.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/frontends/php/queue.php b/frontends/php/queue.php
index ffc73f4b..a1815cb4 100644
--- a/frontends/php/queue.php
+++ b/frontends/php/queue.php
@@ -36,6 +36,15 @@
?>
<?php
+// VAR TYPE OPTIONAL FLAGS VALIDATION EXCEPTION
+ $fields=array(
+ "show"=> array(T_ZBX_INT, O_OPT, P_SYS, IN("0,1"), NULL)
+ );
+
+ check_fields($fields);
+?>
+
+<?php
if(!isset($_REQUEST["show"]))
{
$_REQUEST["show"]=0;