Fixed Poll: Pie Chart broken (#10830)
This commit is contained in:
parent
22d462166f
commit
106d321dd9
2 changed files with 2 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ sub addSlice {
|
|||
|
||||
# Work around a bug in imagemagick where an A path with the same start and end point will segfault.
|
||||
if ($percentage == 1) {
|
||||
$percentage = 0.999999999;
|
||||
$percentage = 0.99999;
|
||||
}
|
||||
|
||||
my $label = $properties->{label};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue