lvhao 6 hari lalu
induk
melakukan
6f733121c7
1 mengubah file dengan 1 tambahan dan 3 penghapusan
  1. 1 3
      core/CoreApp/controllers/Whlabel_bh.php

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

@@ -2069,12 +2069,10 @@ class Whlabel_bh extends Start_Controller {
 					$where_arr['type'] = 2;
 					$cr_tmp_list = $cr_model->where($where_arr)->get()->result_array();
 				}
-				var_dump($cr_tmp_list);
-				die;
 				$fids = array_column($cr_tmp_list,'fid');
 				$ids = array_unique($fids);
 				if(empty($ids)){
-					
+					$where  .= " and id = 0 ";
 				}else{
 					$where  .= " and id in (".implode(",",$ids).")";
 				}