lvhao hace 17 horas
padre
commit
ebd35780b6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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'";
                 $where  .= " and shop = '$shop'";
             }
             }
-			if($type)
+			if(!empty($type))
             {
             {
 				$where  .= " and type = '$type'";
 				$where  .= " and type = '$type'";
 			}
 			}