正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -178,7 +178,7 @@ class ReplaceHtmlLogic extends BaseLogic | @@ -178,7 +178,7 @@ class ReplaceHtmlLogic extends BaseLogic | ||
| 178 | } | 178 | } |
| 179 | if($info['source'] == 0){//当前数据是替换的所有页面 | 179 | if($info['source'] == 0){//当前数据是替换的所有页面 |
| 180 | $data = $this->sourceTypeInfo($info['project_id']); | 180 | $data = $this->sourceTypeInfo($info['project_id']); |
| 181 | - $typeInfo = $data[$this->param['name']]; | 181 | + $typeInfo = $data[$this->param['name'] ?? '所有页面']; |
| 182 | if($typeInfo['source'] != 0){//回滚页面 | 182 | if($typeInfo['source'] != 0){//回滚页面 |
| 183 | $info['source'] = $typeInfo['source']; | 183 | $info['source'] = $typeInfo['source']; |
| 184 | $info['is_custom'] = $typeInfo['is_custom']; | 184 | $info['is_custom'] = $typeInfo['is_custom']; |
-
请 注册 或 登录 后发表评论