From 4c3c81c275bce743ef6fe68957725e67fd54385e Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 17 Oct 2018 09:05:20 +0200 Subject: [PATCH] JobsCommand: explicitly load with ID fixes #1677 --- application/clicommands/JobsCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/clicommands/JobsCommand.php b/application/clicommands/JobsCommand.php index 7848ef34..adddd745 100644 --- a/application/clicommands/JobsCommand.php +++ b/application/clicommands/JobsCommand.php @@ -21,7 +21,7 @@ class JobsCommand extends Command $jobId = $this->params->shift(); if ($jobId) { $this->raiseLimits(); - $job = DirectorJob::load($jobId, $this->db()); + $job = DirectorJob::loadWithAutoIncId($jobId, $this->db()); $job->run(); exit(0); }