Search found 1 match
Page 1 of 1
Search found 1 match
Re: weight.php - devision by zero error (with fix)
This bug is simple to fix. My desition is public function convert($value, $from, $to) { if (($from*$to)==0) { return 0; } if ($from == $to) { return $value; } if (isset($this->weights[$from])) { $from = $this->weights[$from]['value']; } else { $from = 0; } if (isset($this->weights[$to])) { $to = $th...
Jump to post- Sun Apr 28, 2013 5:24 am
- Replies 14
- Views 14778
Page 1 of 1
Search found 1 match