From 2b2c9a6dec0f4f9a4bf5b7a25ed4cc464987d236 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Fri, 13 May 2005 13:28:03 +0000 Subject: - fixed graph.php. Thanks to Michael Durket. (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@1766 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/graph.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontends/php/graph.php') diff --git a/frontends/php/graph.php b/frontends/php/graph.php index c29215ac..8c469957 100644 --- a/frontends/php/graph.php +++ b/frontends/php/graph.php @@ -53,7 +53,7 @@ $item=get_item_by_itemid($_GET["itemid"]); add_audit(AUDIT_ACTION_ADD,AUDIT_RESOURCE_GRAPH_ELEMENT,"Graph ID [".$_GET["graphid"]."] Name [".$graph["name"]."] Added [".$item["description"]."]"); } - show_messages($result,S_ITEM_ADDED, S_CANNOT_ADD_ITEM); + show_messages($gitemid,S_ITEM_ADDED, S_CANNOT_ADD_ITEM); } if($_GET["register"]=="update") { -- cgit