summaryrefslogtreecommitdiffstats
path: root/frontends/php/items.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-17 16:33:34 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-17 16:33:34 +0000
commit9eaf71aa5dcdaa32ee823059500d60e597f856e4 (patch)
treef667c5383c76967f9ae1cc203d59ca17efe56a87 /frontends/php/items.php
parent0f6562e1ff12b714a422703215ad9f0e6e00ed8d (diff)
downloadzabbix-9eaf71aa5dcdaa32ee823059500d60e597f856e4.tar.gz
zabbix-9eaf71aa5dcdaa32ee823059500d60e597f856e4.tar.xz
zabbix-9eaf71aa5dcdaa32ee823059500d60e597f856e4.zip
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@2535 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/items.php')
-rw-r--r--frontends/php/items.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php
index 532e2cab..c0f97c7e 100644
--- a/frontends/php/items.php
+++ b/frontends/php/items.php
@@ -42,12 +42,12 @@
function BETWEEN($min,$max)
{
- return "({}=>$min&&{}<=$max)&&";
+ return "({}>=$min&&{}<=$max)&&";
}
function GT($value)
{
- return "({}=>$value)&&";
+ return "({}>=$value)&&";
}
function IN($array)
@@ -84,10 +84,10 @@
"groupid"=> array(T_ZBX_INT, O_MAND, "items", NULL, BETWEEN(0,65535*65536), NULL)
);
- if(!check_fields($fields))
- {
- info("ZZZ");
- }
+// if(!check_fields($fields))
+// {
+// show_messages();
+// }
?>
<?php