xiaogang 3 anni fa
parent
commit
5968ed8521
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)