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
This commit is contained in:
Erkan
2021-01-02 00:47:41 +01:00
committed by GitHub
parent 1536b32907
commit 7f93e2220d

View File

@ -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,