mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Use "format_hostname" for graphs' default title (#10891)
This commit is contained in:
@@ -34,6 +34,9 @@ $graphfile = Config::get('temp_dir') . '/' . strgen();
|
||||
|
||||
require Config::get('install_dir') . "/includes/html/graphs/$type/auth.inc.php";
|
||||
|
||||
//set default graph title
|
||||
$graph_title = format_hostname($device);
|
||||
|
||||
if ($auth && is_custom_graph($type, $subtype, $device)) {
|
||||
include(Config::get('install_dir') . "/includes/html/graphs/custom.inc.php");
|
||||
} elseif ($auth && is_mib_graph($type, $subtype)) {
|
||||
|
Reference in New Issue
Block a user