From 7f93e2220de4c7a24c4c0743dd8d2911a5971cc9 Mon Sep 17 00:00:00 2001 From: Erkan Date: Sat, 2 Jan 2021 00:47:41 +0100 Subject: [PATCH] Update functions.inc.php (#12406) I think left and right text is inverse. Example in page with all processor, percent_used is at the right instead of left --- includes/html/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/html/functions.inc.php b/includes/html/functions.inc.php index c13cae7bc0..4951333a66 100644 --- a/includes/html/functions.inc.php +++ b/includes/html/functions.inc.php @@ -397,7 +397,7 @@ STATE; function print_percentage_bar($width, $height, $percent, $left_text, $left_colour, $left_background, $right_text, $right_colour, $right_background) { - return \LibreNMS\Util\Html::percentageBar($width, $height, $percent, $right_text, $left_text, null, null, [ + return \LibreNMS\Util\Html::percentageBar($width, $height, $percent, $left_text, $right_text, null, null, [ 'left' => $left_background, 'left_text' => $left_colour, 'right' => $right_background,