xiaogang 3 lat temu
rodzic
commit
5968ed8521
1 zmienionych plików z 1 dodań i 1 usunięć
  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(new UserInfoModel(),$this->getKey());
+        $form = UsersInfoForm::make(new UserInfoModel(),['user_id'=>$this->getKey()]);
         return Modal::make()
             ->lg()
             ->title($this->title)