瀏覽代碼

Merge branch 'dev'

prodstable
Guillaume 4 年之前
父節點
當前提交
f7eebf0181
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      backend/controllers/CronController.php

+ 1
- 1
backend/controllers/CronController.php 查看文件

@@ -240,7 +240,7 @@ class CronController extends BackendController
->setTo($user->email)
->setFrom([Yii::$app->params['adminEmail'] => 'distrib']);

if (count($arrayOrders)) {
if (is_array($arrayOrders) && count($arrayOrders)) {
$subject = '[distrib] Commandes du ' . date('d/m', strtotime($date));

// génération du pdf de commande

Loading…
取消
儲存