lvhao 17 jam lalu
induk
melakukan
0e1db94dea
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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'";
 			}