diff --git a/frontend/controllers/SiteController.php b/frontend/controllers/SiteController.php index ec8b8a9..b946a8f 100755 --- a/frontend/controllers/SiteController.php +++ b/frontend/controllers/SiteController.php @@ -72,7 +72,7 @@ */ public function actionContact() { - $contact = new F(['scenario' => F::SCENARIO_DEFAULT]); + $contact = new F(); return $this->render( 'contact', [ diff --git a/frontend/models/Feedback.php b/frontend/models/Feedback.php index 7a5590c..ee2e970 100644 --- a/frontend/models/Feedback.php +++ b/frontend/models/Feedback.php @@ -34,7 +34,7 @@ class Feedback extends ArtboxCoreFeedback 'when' => function ($model) { return !$model->hasErrors(); }, - 'on' => self::SCENARIO_DEFAULT, + ], [ -- libgit2 0.21.4