diff --git a/lib/WebGUI/Image/Graph/Pie.pm b/lib/WebGUI/Image/Graph/Pie.pm index 60cd2fa52..c7d9e327d 100644 --- a/lib/WebGUI/Image/Graph/Pie.pm +++ b/lib/WebGUI/Image/Graph/Pie.pm @@ -1013,7 +1013,8 @@ sub getTiltAngle { my $self = shift; my $angle = shift; - return $self->{_pieProperties}->{tiltAngle} || 55; + return 55 unless (defined $self->{_pieProperties}->{tiltAngle}); + return $self->{_pieProperties}->{tiltAngle}; } #-------------------------------------------------------------------