正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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)){ |
-
请 注册 或 登录 后发表评论