summaryrefslogtreecommitdiffstats
path: root/frontends/php/items.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-02-19 12:07:46 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-02-19 12:07:46 +0000
commitbbadd78fb2a0ef624b1503f647157f58e93ab474 (patch)
treee8b09916e091a9882e858e3d6170e96514d17ba6 /frontends/php/items.php
parent46e7eba7e031f101a82973caae71c2a0c1882cca (diff)
downloadzabbix-bbadd78fb2a0ef624b1503f647157f58e93ab474.tar.gz
zabbix-bbadd78fb2a0ef624b1503f647157f58e93ab474.tar.xz
zabbix-bbadd78fb2a0ef624b1503f647157f58e93ab474.zip
- tested and fixed jabber messager (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3836 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/items.php')
-rw-r--r--frontends/php/items.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php
index ac3125f5..78f2d338 100644
--- a/frontends/php/items.php
+++ b/frontends/php/items.php
@@ -526,7 +526,7 @@ include_once "include/page_header.php";
{
echo BR;
insert_copy_elements_to_forms("group_itemid");
- } elseif (!(isset($_REQUEST["form"]) && ($_REQUEST["form"]==S_CREATE_ITEM || $_REQUEST["form"]=="update"))) {
+ } elseif (!isset($_REQUEST["form"]) || !in_array($_REQUEST["form"],array(S_CREATE_ITEM,"update","clone"))) {
echo BR;
// Table HEADER
$form = new CForm();
@@ -824,7 +824,7 @@ include_once "include/page_header.php";
}
- if(isset($_REQUEST["form"]) && ($_REQUEST["form"]==S_CREATE_ITEM || $_REQUEST["form"]=="update" ||
+ if(isset($_REQUEST["form"]) && (in_array($_REQUEST["form"],array(S_CREATE_ITEM,"update","clone")) ||
($_REQUEST["form"]=="mass_update" && isset($_REQUEST['group_itemid']))))
{
// FORM