summaryrefslogtreecommitdiffstats
path: root/frontends/php/graph.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/graph.php')
-rw-r--r--frontends/php/graph.php2
1 files changed, 1 insertions, 1 deletions
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")
{