Fix code review syntax remarks [MAILPOET-903]

This commit is contained in:
stoletniy
2018-02-26 16:30:53 +03:00
parent b9546b61a8
commit 03015c0bde
8 changed files with 11 additions and 11 deletions

View File

@ -533,7 +533,7 @@ class Newsletter extends Model {
} else {
$row = $statisticsExpr
->join(MP_SENDING_QUEUES_TABLE, array("queue_id", "=", "qt.id"), "qt")
->join(MP_SCHEDULED_TASKS_TABLE, array("qt.task_Id", "=", "tasks.id"), "tasks")
->join(MP_SCHEDULED_TASKS_TABLE, array("qt.task_id", "=", "tasks.id"), "tasks")
->where(array(
"tasks.status" => SendingQueue::STATUS_COMPLETED,
"stat.newsletter_id" => $this->id,