pPie.class.php - Index Out Of Bounds
Status: Beta
Brought to you by:
ayashisunyday
A certain line in the pPie.class.php file contains a check to see if a sub-index exists.
LINE 963:
if ( !isset($Boundaries[0]["X1"]) ) { $Boundaries[0]["X1"] = $Xc; $Boundaries[0]["Y1"] = $Yc; }
I made the change to have it be:
if ( !isset($Boundaries[0]) || !isset($Boundaries[0]["X1"]) ) { $Boundaries[0]["X1"] = $Xc; $Boundaries[0]["Y1"] = $Yc; }
Which seems to do the trick.