Fixed job number conflict

This commit is contained in:
Karl Cordes 2010-05-20 09:56:02 +10:00
parent a071d317f0
commit 2751bd4ee0

View file

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