Fixed an error on the module graph popup

This commit is contained in:
Alejandro Gallardo Escobar 2015-02-23 15:36:07 +01:00
parent aad27ee76d
commit abd115d99c
1 changed files with 2 additions and 2 deletions

View File

@ -1200,7 +1200,7 @@ class Tree {
$module['serverTypeHTML'] = servers_show_type($module['server_type']); $module['serverTypeHTML'] = servers_show_type($module['server_type']);
// Link to the Module graph // Link to the Module graph
$graphType = return_graphtype($module['id']); $graphType = return_graphtype($module['id_module_type']);
$winHandle = dechex(crc32($module['id'] . $module['name'])); $winHandle = dechex(crc32($module['id'] . $module['name']));
if (!defined('METACONSOLE')) { if (!defined('METACONSOLE')) {
@ -1216,7 +1216,7 @@ class Tree {
$moduleGraphURL = ui_meta_get_url_console_child( $moduleGraphURL = ui_meta_get_url_console_child(
$server, null, null, null, null, $server, null, null, null, null,
"operation/agentes/stat_win.php?" . "operation/agentes/stat_win.php?" .
"type=$graph_type&" . "type=$graphType&" .
"period=" . SECONDS_1DAY . "&" . "period=" . SECONDS_1DAY . "&" .
"id=" . $module["id"] . "&" . "id=" . $module["id"] . "&" .
"label=" . rawurlencode(urlencode(base64_encode($module['name']))) . "&" . "label=" . rawurlencode(urlencode(base64_encode($module['name']))) . "&" .