From bb1a8e2a9a50d9566d818aa8b8a5fb7b0433c774 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Fri, 15 Aug 2003 17:38:49 +0000 Subject: Minor changes. git-svn-id: svn://svn.zabbix.com/trunk@922 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/screenedit.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'frontends/php/screenedit.php') diff --git a/frontends/php/screenedit.php b/frontends/php/screenedit.php index 9cd0a435..6fad8c19 100644 --- a/frontends/php/screenedit.php +++ b/frontends/php/screenedit.php @@ -62,8 +62,7 @@ } if($HTTP_GET_VARS["register"]=="update") { - $result=update_screen_item($HTTP_GET_VARS["screenitemid"],$HTTP_GET_VARS["graphid"],$HTTP_GET_VARS["width"],$HTTP_GET_VARS["height"]); - $result=update_screen_graph($HTTP_GET_VARS["screengraphid"],$HTTP_GET_VARS["itemid"],$HTTP_GET_VARS["width"],$HTTP_GET_VARS["height"]); + $result=update_screen_item($HTTP_GET_VARS["screenitemid"],$HTTP_GET_VARS["resource"],$HTTP_GET_VARS["resourceid"],$HTTP_GET_VARS["width"],$HTTP_GET_VARS["height"]); show_messages($result,"Item updated","Cannot update item"); unset($HTTP_GET_VARS["x"]); } -- cgit