lvhao 17 시간 전
부모
커밋
0e1db94dea
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/CoreApp/controllers/Warehouse.php

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

@@ -2172,7 +2172,7 @@ class Warehouse extends Start_Controller {
             {
                 $where  .= " and shop = '$shop'";
             }
-			if($type)
+			if(!empty($type))
             {
 				$where  .= " and type = '$type'";
 			}