Menu

#17 graph.php devision by 0 (zero)

open
nobody
None
5
2006-04-12
2006-04-12
Anonymous
No

on line 163:
if (isset($yscale))
$YMax = $yscale/8;

changed to
if (isset($yscale) && $yscale > 0)
$YMax = $yscale/8;

otherwise there can be devision by 0 (zero) on lines
186 - 192 (devision by $YMax)

cheers

Nathanael Rebsch
nathanael@dihedral.de

Discussion

  • Nobody/Anonymous

    Logged In: NO

    sdfasdf

     
  • Nobody/Anonymous

    OK

     

Log in to post a comment.