Commit f0981e1242eb4e4df6cb3a9abce77926593490b6
1 parent
c2828449
fix 2
Showing
2 changed files
with
5 additions
and
3 deletions
Show diff stats
common/models/Feedback.php
| ... | ... | @@ -29,7 +29,7 @@ class FeedBack extends CoreFeedback |
| 29 | 29 | \himiklab\yii2\recaptcha\ReCaptchaValidator::className(), |
| 30 | 30 | 'secret' => '6LcmYmcUAAAAACVi_73RmSAIjJlw4BCgQpfUsrPs', |
| 31 | 31 | 'uncheckedMessage' => 'Please confirm that you are not a bot.', |
| 32 | - 'on' => self::SCENARIO_DEFAULT, | |
| 32 | + | |
| 33 | 33 | ], |
| 34 | 34 | [ |
| 35 | 35 | [ | ... | ... |
frontend/controllers/SiteController.php
| ... | ... | @@ -6,7 +6,8 @@ |
| 6 | 6 | use artbox\catalog\models\Category; |
| 7 | 7 | use artbox\catalog\models\Product; |
| 8 | 8 | use artbox\core\models\DummyAlias; |
| 9 | - use artbox\core\models\Feedback; | |
| 9 | + # use artbox\core\models\Feedback; | |
| 10 | + use common\models\Feedback; | |
| 10 | 11 | use artbox\weblog\models\Article; |
| 11 | 12 | use common\models\LoginForm; |
| 12 | 13 | use common\models\PasswordResetRequestForm; |
| ... | ... | @@ -157,7 +158,8 @@ |
| 157 | 158 | public function actionContact() |
| 158 | 159 | { |
| 159 | 160 | $contact = new Feedback(); |
| 160 | - return $this->render( | |
| 161 | + | |
| 162 | + return $this->render( | |
| 161 | 163 | 'contact', |
| 162 | 164 | [ |
| 163 | 165 | 'contact' => $contact, | ... | ... |