# | Line 100 | Line 100 | function showBar($title, $value, $max, $units, $input, | |
---|---|---|
100 | ||
101 | $width = intval($max_width * $value / $max); | |
102 | ||
103 | + | if ($width < 1) { |
104 | + | $width = 1; |
105 | + | } |
106 | + | |
107 | ?> | |
108 | <table border="0" cellpadding="0" cellspacing="0" align="center"> | |
109 | <tr> |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |