Fixed job number conflict

This commit is contained in:
Karl Cordes 2010-05-20 09:51:29 +10:00
parent a865aabf41
commit a071d317f0

View file

@ -29,7 +29,7 @@ class JobsController extends AppController {
if (!empty($this->data)) {
$this->Job->create();
$job_offset = 6137;
$job_offset = 6140;
$number_of_jobs = $this->Job->findCount();
$new_job_number = $job_offset + $number_of_jobs;