Commit 1eddf23f54b7909a155ae276b78efcac8a2a10d5

Authored by Administrator
1 parent 649de741

24.02.16

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
frontend/controllers/SiteController.php
@@ -266,7 +266,7 @@ class SiteController extends Controller @@ -266,7 +266,7 @@ class SiteController extends Controller
266 $company_info->load(Yii::$app->request->post(),'SignupForm'); 266 $company_info->load(Yii::$app->request->post(),'SignupForm');
267 $company_info->name = $user->id; 267 $company_info->name = $user->id;
268 268
269 - $user_info->save(); 269 + $company_info->save();
270 } 270 }
271 271
272 if (Yii::$app->getUser()->login($user)) { 272 if (Yii::$app->getUser()->login($user)) {