Fix sending task reschedule
The query returned data from the sending queue table So the next update updated the wrong row in the tasks table [MAILPOET-1378]
This commit is contained in:
@ -141,6 +141,7 @@ class SendingQueue extends Model {
|
||||
|
||||
static function getTasks() {
|
||||
return ScheduledTask::table_alias('tasks')
|
||||
->selectExpr('tasks.*')
|
||||
->join(
|
||||
MP_SENDING_QUEUES_TABLE,
|
||||
'tasks.id = queues.task_id',
|
||||
|
Reference in New Issue
Block a user