lvhao 17 tuntia sitten
vanhempi
commit
0e1db94dea
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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'";
 			}