正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -574,7 +574,7 @@ class ProductController extends BaseController | @@ -574,7 +574,7 @@ class ProductController extends BaseController | ||
| 574 | $contents .= $pre_suf_array['prefix_title'][0].' '.implode(', ',$tm_ky).', '.$pre_suf_array['suffix_l'][0]."\r\n"; | 574 | $contents .= $pre_suf_array['prefix_title'][0].' '.implode(', ',$tm_ky).', '.$pre_suf_array['suffix_l'][0]."\r\n"; |
| 575 | $new_content = htmlentities($contents); | 575 | $new_content = htmlentities($contents); |
| 576 | } | 576 | } |
| 577 | - if (FALSE == empty($data['new_content'])){ | 577 | + if (!empty($new_content)){ |
| 578 | $productInfo['describe'] = $new_content . $productInfo['$data']; | 578 | $productInfo['describe'] = $new_content . $productInfo['$data']; |
| 579 | } | 579 | } |
| 580 | $this->response('success',Code::SUCCESS,$productInfo); | 580 | $this->response('success',Code::SUCCESS,$productInfo); |
-
请 注册 或 登录 后发表评论