lvhao 5 日 前
コミット
7a86bca604
1 ファイル変更2 行追加3 行削除
  1. 2 3
      core/CoreApp/controllers/Specialstock.php

+ 2 - 3
core/CoreApp/controllers/Specialstock.php

@@ -980,12 +980,11 @@ class Specialstock extends Start_Controller {
             {
                 $where  .= " and purchase = '$purchase'";
             }
-			if(isset($state))
+			if($state)
             {
-				if($state > -1){
+                if($state >-1){
 					$where  .= " and state = '$state'";
 				}
-               
             }
 			if($ktime && $jtime)
             {