diff --git a/html/includes/table/storage.inc.php b/html/includes/table/storage.inc.php
index 4116bb7694..8d7fd548df 100644
--- a/html/includes/table/storage.inc.php
+++ b/html/includes/table/storage.inc.php
@@ -60,9 +60,8 @@ foreach (dbFetchRows($sql,$param) as $drive) {
$graph_array_zoom['width'] = "400";
$link = "graphs/id=" . $graph_array['id'] . "/type=" . $graph_array['type'] . "/from=" . $graph_array['from'] . "/to=" . $graph_array['to'] . "/";
$mini_graph = overlib_link($link, generate_graph_tag($graph_array), generate_graph_tag($graph_array_zoom), NULL);
- $bar_link = overlib_link($link, print_percentage_bar (400, 20, $perc, "$used / $total", "ffffff", $background['left'], $free, "ffffff", $background['right']), generate_graph_tag($graph_array_zoom), NULL);
-
$background = get_percentage_colours($perc);
+ $bar_link = overlib_link($link, print_percentage_bar (400, 20, $perc, "$used / $total", "ffffff", $background['left'], $free, "ffffff", $background['right']), generate_graph_tag($graph_array_zoom), NULL);
$response[] = array('hostname' => generate_device_link($drive),
'storage_descr' => $drive['storage_descr'],