mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Patched library to solve some infinite loops in static graphics Tickets #3438
This commit is contained in:
parent
8968c68d88
commit
a2fb483e3f
@ -1850,6 +1850,7 @@
|
||||
$Data["Axis"][$AxisID]["Min"] = $AxisMin-$AutoMargin; $Data["Axis"][$AxisID]["Max"] = $AxisMax+$AutoMargin;
|
||||
}
|
||||
$MaxDivs = floor($Height/$MinDivHeight);
|
||||
if ($MaxDivs == 0) { $MaxDivs = 1;}
|
||||
|
||||
if ( $Mode == SCALE_MODE_ADDALL_START0 ) { $Data["Axis"][$AxisID]["Min"] = 0; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user