shish 3 лет назад
Родитель
Сommit
7e7dbf702b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-hd/controllers/CgRefundController.php

+ 1 - 1
app-hd/controllers/CgRefundController.php

@@ -99,7 +99,7 @@ class CgRefundController extends BaseController
 
             $saleRefundId = $respond->saleRefundId ?? 0;
             $saleRefund = RefundOrderClass::getById($saleRefundId, true);
-            if (!empty($order) && !empty($saleRefund)) {
+            if (!empty($saleRefund)) {
                 NotifyClass::addRefundApplyNotify($saleRefund);
             }