Error in log file
PHP Warning: Division by zero in /home/xxxx/public_html/components/com_eventbooking/router.php on line 202
Lines 198 - 204 EB1.6.2
if (isset($query) || isset($query))
{
$limit = $app->getUserState('eventbooking.limit');
$limitStart = isset($query) ? (int)$query : (int)$query;
$page = ceil(($limitStart + 1) / $limit);
$segments[] = JText::_('EB_PAGE').'-'.$page;
}
Is there a code fix for this error? I can update my EB system as i have lots of mods done to it so can you let me know what could be causing this error?
Thanks
Success consists of going from failure to failure without loss of enthusiasm.