From abd115d99cf9b24ea84c35e35a5cec2d82c6fa7e Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Mon, 23 Feb 2015 15:36:07 +0100 Subject: [PATCH] Fixed an error on the module graph popup --- pandora_console/include/class/Tree.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/class/Tree.class.php b/pandora_console/include/class/Tree.class.php index 0c6a90533a..59068bfd56 100644 --- a/pandora_console/include/class/Tree.class.php +++ b/pandora_console/include/class/Tree.class.php @@ -1200,7 +1200,7 @@ class Tree { $module['serverTypeHTML'] = servers_show_type($module['server_type']); // Link to the Module graph - $graphType = return_graphtype($module['id']); + $graphType = return_graphtype($module['id_module_type']); $winHandle = dechex(crc32($module['id'] . $module['name'])); if (!defined('METACONSOLE')) { @@ -1216,7 +1216,7 @@ class Tree { $moduleGraphURL = ui_meta_get_url_console_child( $server, null, null, null, null, "operation/agentes/stat_win.php?" . - "type=$graph_type&" . + "type=$graphType&" . "period=" . SECONDS_1DAY . "&" . "id=" . $module["id"] . "&" . "label=" . rawurlencode(urlencode(base64_encode($module['name']))) . "&" .