xiaogang %!s(int64=3) %!d(string=hai) anos
pai
achega
e1d7cc541c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Admin/Actions/Users/SetUserInfo.php

+ 1 - 1
app/Admin/Actions/Users/SetUserInfo.php

xqd
@@ -58,7 +58,7 @@ class SetUserInfo extends RowAction
 
     public function render()
     {
-        $form = UsersInfoForm::make(UserInfoModel::query()->where('user_id')->first());
+        $form = UsersInfoForm::make(UserInfoModel::query()->where('user_id',$this->getKey())->first());
         return Modal::make()
             ->lg()
             ->title($this->title)