summaryrefslogtreecommitdiffstats
path: root/frontends/php/graph.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-11-18 16:55:35 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-11-18 16:55:35 +0000
commit3ed768214f68a4cc494037975855f9321432f78c (patch)
tree1ef9f04086dcfd54df67f663eaf2073204afe99c /frontends/php/graph.php
parent2db72e1a96bfc3fde3efdb9215b8e34f3a65a2ee (diff)
- fixed audit log for graph elements (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1491 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/graph.php')
-rw-r--r--frontends/php/graph.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/graph.php b/frontends/php/graph.php
index 36f72f71..e27121a6 100644
--- a/frontends/php/graph.php
+++ b/frontends/php/graph.php
@@ -72,7 +72,7 @@
if($result)
{
$graph=get_graph_by_graphid($graphitem["graphid"]);
- $item=get_item_by_itemid($graphitemid["itemid"]);
+ $item=get_item_by_itemid($graph["itemid"]);
add_audit(AUDIT_ACTION_DELETE,AUDIT_RESOURCE_GRAPH_ELEMENT,"Graph ID [".$graphitem["graphid"]."] Name [".$graph["name"]."] Deleted [".$item["name"]."]");
}
show_messages($result, S_ITEM_DELETED, S_CANNOT_DELETE_ITEM);
@@ -219,7 +219,7 @@
echo "</SELECT>";
show_table2_v_delimiter();
- echo nbsp("S_SORT_ORDER_1_100");
+ echo nbsp(S_SORT_ORDER_1_100);
show_table2_h_delimiter();
echo "<input class=\"biginput\" name=\"sortorder\" value=\"$sortorder\" size=3>";