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

+ 5 - 0
core/CoreApp/controllers/Typeclass.php

@@ -161,6 +161,11 @@ class Typeclass extends Start_Controller {
 	{
 		$class = $this->classid->find_all("id != '0' and id != '1' and id != '2' and id != '3' and id != '5' and id != '11' and id != '16' and id != '17' and id != '20' and id != '21' and id != '23' and id != '24' and id != '29' and id != '30' and id != '31' and id != '32' and id != '4'",'*','ckpx asc');
 		$class[] = array('id'=>'999','title'=>'只匹配品名系列');
+		foreach($class as $k=>$v){
+			if(isset($v['is_check'])){
+				unset($class[$k]['is_check']);
+			}
+		}
 		$this->data['class'] = $class;
 		$this->_Template('typeclass_cx',$this->data);
 	}