Skip to content

Commit

Permalink
Ensure that $Alpha is an int
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Kinney committed Jun 12, 2017
1 parent ca5c3d9 commit dac2113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Chart/Draw.php
Original file line number Diff line number Diff line change
Expand Up @@ -5048,7 +5048,7 @@ public function drawPlotChart(array $Format = [])
$R = $Serie["Color"]["R"];
$G = $Serie["Color"]["G"];
$B = $Serie["Color"]["B"];
$Alpha = $Serie["Color"]["Alpha"];
$Alpha = (int) $Serie["Color"]["Alpha"];
$Ticks = $Serie["Ticks"];
if ($Surrounding != null) {
$BorderR = $R + $Surrounding;
Expand Down

0 comments on commit dac2113

Please sign in to comment.