| xqd
@@ -15,7 +15,7 @@ class UsersInfoForm extends Form implements LazyRenderable
|
|
|
public function __construct($data = [], $key = null)
|
|
|
{
|
|
|
parent::__construct($data, $key);
|
|
|
- $this->user_info = UserInfoModel::query()->where('user_id',$this->payload['user_id'])->first();
|
|
|
+ $this->user_info = UserInfoModel::query()->where('user_id',$key)->first();
|
|
|
$this->fill($this->user_info );
|
|
|
}
|
|
|
|