mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
Merge branch '1374-Nombre-predeterminado-para-custom-graphs-4597-com1' into 'develop'
Show graph name in custom graph items for report list - #1374 See merge request artica/pandorafms!1203
This commit is contained in:
commit
9d4521e5e5
@ -352,6 +352,12 @@ foreach ($items as $item) {
|
|||||||
|
|
||||||
$row[1] = get_report_name($item['type']);
|
$row[1] = get_report_name($item['type']);
|
||||||
|
|
||||||
|
$custom_graph_name = db_get_row_sql('select name from tgraph where id_graph = '.$item['id_gs']);
|
||||||
|
|
||||||
|
if($item['type'] == 'custom_graph'){
|
||||||
|
$row[1] = get_report_name($item['type']).' ('.$custom_graph_name['name'].')';
|
||||||
|
}
|
||||||
|
|
||||||
$server_name = $item ['server_name'];
|
$server_name = $item ['server_name'];
|
||||||
|
|
||||||
if (($config ['metaconsole'] == 1) && ($server_name != '') && defined('METACONSOLE')) {
|
if (($config ['metaconsole'] == 1) && ($server_name != '') && defined('METACONSOLE')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user