正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -108,7 +108,7 @@ class BTemplateLogic extends BaseLogic | @@ -108,7 +108,7 @@ class BTemplateLogic extends BaseLogic | ||
| 108 | //兼容老数据 | 108 | //兼容老数据 |
| 109 | $commonTemplateModel = new BTemplateCommon(); | 109 | $commonTemplateModel = new BTemplateCommon(); |
| 110 | $commonInfo = $commonTemplateModel->read(['template_id'=>$info['template_id'],'project_id'=>$this->user['project_id']]); | 110 | $commonInfo = $commonTemplateModel->read(['template_id'=>$info['template_id'],'project_id'=>$this->user['project_id']]); |
| 111 | - if($commonInfo === false){ | 111 | + if($commonInfo !== false){ |
| 112 | $TemplateInfo['html'] = $commonInfo['head_css'].$TemplateInfo['main_css'].$commonInfo['footer_css'].$commonInfo['other']. | 112 | $TemplateInfo['html'] = $commonInfo['head_css'].$TemplateInfo['main_css'].$commonInfo['footer_css'].$commonInfo['other']. |
| 113 | $commonInfo['head_html'].$TemplateInfo['main_html'].$commonInfo['footer_html']; | 113 | $commonInfo['head_html'].$TemplateInfo['main_html'].$commonInfo['footer_html']; |
| 114 | } | 114 | } |
-
请 注册 或 登录 后发表评论