作者 lyh

变更数据

@@ -64,7 +64,7 @@ class BaseLogic extends Logic @@ -64,7 +64,7 @@ class BaseLogic extends Logic
64 $param['id'] = $id; 64 $param['id'] = $id;
65 } 65 }
66 } 66 }
67 - if(isset($param['project_id']) && !empty($param['project_id'])){ 67 + if(isset($param['project_id']) && !empty($param['project_id']) && !is_array($param['project_id'])){
68 if (preg_match('/^[A-Za-z]/', $param['project_id'])) { 68 if (preg_match('/^[A-Za-z]/', $param['project_id'])) {
69 $id = Cache::get('project_'.$param['project_id']); 69 $id = Cache::get('project_'.$param['project_id']);
70 if(empty($id)){ 70 if(empty($id)){