diff --git a/html/pages/device/overview/storage.inc.php b/html/pages/device/overview/storage.inc.php index fe4ca0fe38..10c2d9b166 100644 --- a/html/pages/device/overview/storage.inc.php +++ b/html/pages/device/overview/storage.inc.php @@ -62,7 +62,7 @@ if (count($drives)) unset($link_array['height'], $link_array['width'], $link_array['legend']); $link = generate_url($link_array); - $overlib_content = generate_overlib_content($graph_array, $device['hostname'] . " - " . $text_descr); + $overlib_content = generate_overlib_content($graph_array, $device['hostname'] . " - " . $drive['storage_descr']); $graph_array['width'] = 80; $graph_array['height'] = 20; $graph_array['bg'] = $graph_colour; diff --git a/includes/rewrites.php b/includes/rewrites.php index 27f62112df..12156edc05 100644 --- a/includes/rewrites.php +++ b/includes/rewrites.php @@ -843,7 +843,6 @@ function makeshortif($if) $if = fixifName ($if); $if = strtolower($if); $if = array_str_replace($rewrite_shortif, $if); - $if = ucfirst($if); return $if; }