Topic: [BUG FIX] Solution if Most Applied Jobs being set to 0 does not work
In Jobberbase v1.8 (No idea if it was present before) there is a bug that you can's set Most Applied Jobs from Settings>>Search/Pagination Settings to 0. If you set it to 0 you get this error:
Notice: Undefined variable: sql_limit in F:\server\xampp\htdocs\www\jobberbase\trunk\public\_includes\class.Job.php on line 591
And if you have turned error reporting off, no error will be shown and it will still show Most applied to Jobs.
This is due to a small logical bug being introduced in class.Job.php. Open class.Job.php and find this line:
find this line:
if($limit > 0 )
{
$sql_limit = 'LIMIT ' . $limit;
}
and change it to
$sql_limit = 'LIMIT ' . $limit;
This should fix the bug.