Fixed bug in application/core/JQW_Controller.php

This commit is contained in:
Paolo
2020-07-22 13:52:13 +02:00
parent 9c732a4870
commit 747d1d8d32
+3 -3
View File
@@ -105,10 +105,10 @@ abstract class JQW_Controller extends JOB_Controller
*/
protected function generateJobs($status, $input)
{
$job = stdClass();
$job = new stdClass();
$job->{self::PROPERTY_STATUS} = $status;
$job->{self::PROPERTY_INPUT} = $input;
$job->{JobsQueueLib::PROPERTY_STATUS} = $status;
$job->{JobsQueueLib::PROPERTY_INPUT} = $input;
return array($job);
}