Added utility methods updateJobs and generateJobs to controller core/JQW_Controller

This commit is contained in:
Paolo
2020-07-22 13:34:37 +02:00
parent ade81e5460
commit 9c732a4870
3 changed files with 40 additions and 2 deletions
+1 -1
View File
@@ -335,7 +335,7 @@ class JobsQueueLib
$found = $this->_inArray($job->{self::PROPERTY_STATUS}, $statuses, self::PROPERTY_STATUS);
}
// No status was not found and does NOT already contain the property error
// No status was found and does NOT already contain the property error
if (!$found && !property_exists($job, self::PROPERTY_ERROR))
{
$job->{self::PROPERTY_ERROR} = 'The provided status of this job is not valid'; // store the error message in the object