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'";
 			}