tgz 2 роки тому
батько
коміт
84aa3dfe69
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      app/Modules/Trade/Pay/OrderArousePayAbstract.php

+ 2 - 0
app/Modules/Trade/Pay/OrderArousePayAbstract.php

@@ -56,6 +56,8 @@ abstract class OrderArousePayAbstract
                 $account =  DB::table('qapp_send_orders')->where('send_order_id',$data['send_order_id'])->value('account');
                 if ($account) {
                     $company_id = DB::table('qapp_channel_accounts')->where('account',$account)->value('company_id');
+                }else{
+                    return ;
                 }
                 if (empty($company_id)) {
                     $company_id = 0;