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

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

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