Commit 69eec595eb1c7b7893842a41c4c071502fcdf211

Authored by pengye
1 parent f8ea2702

no message

@@ -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;