From bbadd78fb2a0ef624b1503f647157f58e93ab474 Mon Sep 17 00:00:00 2001 From: osmiy Date: Mon, 19 Feb 2007 12:07:46 +0000 Subject: - tested and fixed jabber messager (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@3836 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/items.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontends/php/items.php') 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 -- cgit