Commit ad9c004bb247ccc1d44c54647ef723482360fccb
1 parent
239b3249
test
Showing
2 changed files
with
5 additions
and
0 deletions
Show diff stats
common/modules/comment/widgets/CommentWidget.php
... | ... | @@ -277,6 +277,7 @@ |
277 | 277 | $this->comment_class->checkRating(); |
278 | 278 | if($this->comment_class->rating->load($data) && $this->comment_class->rating->save()) { |
279 | 279 | $this->isSuccess = true; |
280 | + \Yii::$app->response->redirect(''); | |
280 | 281 | } |
281 | 282 | } else { |
282 | 283 | $this->isSuccess = true; | ... | ... |
frontend/controllers/CompanyController.php