Fixed multiply strict warnings, fixed error handling on php 5.3
[fa-stable.git] / reporting / includes / class.pdf.inc
index 0bf38d8f1756f9d0dc7532e6b76540d734a16a6a..44b62b4326d6b0c3664eda439f9ab5f11d8e9bd3 100644 (file)
@@ -251,7 +251,7 @@ class Cpdf extends FPDI {
        * nSeg is not allowed to be less than 2, as this will simply draw a line (and will even draw a
        * pretty crappy shape at 2, as we are approximating with bezier curves.
        */
-       function ellipse($x0,$y0,$r1,$r2=0,$angle=0,$nSeg=8,$astart=0,$afinish=360,$close=1,$fill=0)
+       function ellipse($x0,$y0,$r1,$r2=0,$angle=0,$nSeg=8,$astart=0,$afinish=360,$close=1,$fill=0, $dummy=null)
        {
                parent::Ellipse($x0, $y0, $r1, $r2, $angle, $astart. $afinish, ($close?'C':''), "", "", $nSeg);
        }