-
Bug
-
Resolution: Fixed
-
Minor
-
4.1.5, 4.3.6, 4.4, 4.5
lib/graphlib.php is using the php round() function to calculate some parameters that then get passed to gd-functions like ImageArc or ImageFillToBorder.
This gives an error as the round() function is returning float-typed values while gd is expecting int-typed values.
Other functions in the graphlib do already use type-casting to prevent this.
The function draw_brush does not do that.
- has a non-specific relationship to
-
MDL-75945 Check all uses of $num_points in image(open|filled)polygon calls
-
- Closed
-