Log in

View Full Version : division by zero in arcade.php


tillcat5
05-30-2007, 03:16 PM
i am getting this error :Warning: Division by zero in /arcade.php on line 1756

when i check that line it says (line 1756-1759)

if( ($cat_counter % $this->arcade->settings['cats_per_tr'] == 0) && ($this->arcade->settings['cats_per_tr'] != 0) && ($cat_counter != 0) )
{
$categories .= "</tr><tr>";

can someone tell me what needs to change?