fix add user to project
This commit is contained in:
parent
b0c350efbd
commit
d6f5ffcd26
@ -434,7 +434,7 @@ class ProjectController extends ApiController
|
|||||||
|
|
||||||
$model = new ProjectUser();
|
$model = new ProjectUser();
|
||||||
$model->load($request, '');
|
$model->load($request, '');
|
||||||
if ($model->user->userCard){
|
if (isset($model->user->userCard)){
|
||||||
$model->card_id = $model->user->userCard->id;
|
$model->card_id = $model->user->userCard->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user