lvhao 3 dni temu
rodzic
commit
730603f940
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      core/CoreApp/controllers/Whlabel_bh.php

+ 1 - 1
core/CoreApp/controllers/Whlabel_bh.php

@@ -2072,7 +2072,7 @@ class Whlabel_bh extends Start_Controller {
 		$list = $this->whlabel_bh_transfer->find_all(" orderinfo= '".$info['orderinfo']."'");
 		$ids = array_column($list,'id');
 		$final_list = [];
-		if(empty($ids)){
+		if(!empty($ids)){
 			$log_list = $this->whlabel_bh_transfer_cr->find_all( " type = 1 and  fid in (".implode(",",$ids).")","*","id asc");
 			$collect_list = [];
 			foreach($log_list as $k=>$v){