diff --git a/frontend/modules/company/controllers/CompanyController.php b/frontend/modules/company/controllers/CompanyController.php index 0d6b1a6..1d10bc2 100644 --- a/frontend/modules/company/controllers/CompanyController.php +++ b/frontend/modules/company/controllers/CompanyController.php @@ -2,6 +2,7 @@ namespace frontend\modules\company\controllers; +use common\classes\Debug; use common\services\CompanyService; use frontend\modules\company\models\Company; use frontend\modules\company\models\CompanySearch; @@ -107,6 +108,7 @@ class CompanyController extends Controller if ($model->load($this->request->post()) && $model->save()) { return $this->redirect(['view', 'id' => $model->id]); } + Debug::prn($model); } else { $model->loadDefaultValues(); }