Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -29,7 +29,7 @@ class Comment extends Common | @@ -29,7 +29,7 @@ class Comment extends Common | ||
| 29 | $data = Request::except('file'); | 29 | $data = Request::except('file'); |
| 30 | #return json_encode($data['enclosure']); | 30 | #return json_encode($data['enclosure']); |
| 31 | $data['pid'] = 0; | 31 | $data['pid'] = 0; |
| 32 | - $data['eval_label'] = implode(',',$data['eval_label']); | 32 | + $data['eval_label'] = isset($data['eval_label'])?implode(',',$data['eval_label']):''; |
| 33 | $data['author'] = $data['author']?$data['author']:'小周'; | 33 | $data['author'] = $data['author']?$data['author']:'小周'; |
| 34 | $data['identity'] = 1; | 34 | $data['identity'] = 1; |
| 35 | $data['sex'] = 1; | 35 | $data['sex'] = 1; |
-
Please register or login to post a comment