shish 6 лет назад
Родитель
Сommit
f87f884078
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      biz/message/classes/InformAdminClass.php

+ 2 - 1
biz/message/classes/InformAdminClass.php

@@ -196,8 +196,9 @@ class InformAdminClass extends BaseClass
         $merchantId = $order['merchantId'];
         $orderId = $order['id'];
         $shopId = $order['shopId'];
+        $merchant = MerchantClass::getMerchantById($merchantId);
         if (empty($shopId)) {
-            $shopId = MerchantClass::getDefaultShopId($merchantId);
+            $shopId = MerchantClass::getDefaultShopId($merchant);
         }
         $adminList = ShopAdminService::getNoticeAdminList($shopId);
         $tm = xhTMessageService::getList(0);