lvhao 5 天之前
父节点
当前提交
3ac7bd4237
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      core/CoreApp/controllers/Whlabel.php

+ 4 - 1
core/CoreApp/controllers/Whlabel.php

@@ -492,7 +492,10 @@ class Whlabel extends Start_Controller
 				$where  .= " and purchase = '$purchase'";
 			}
 			if (isset($state)) {
-				$where  .= " and state = '$state'";
+				if($state >-1){
+					$where  .= " and state = '$state'";
+				}
+				
 			}
 
 			if ($lacetype) {