#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

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks