Skip to content

Commit

Permalink
Merge pull request #80 from giant-rabbit/fix-user-profile-file-fields…
Browse files Browse the repository at this point in the history
…-not-saving

Fix user profile file fields not saving.
  • Loading branch information
demeritcowboy authored Feb 22, 2023
2 parents 44a5dfe + b9e7586 commit 143bed9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Form/UserProfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ public function buildForm(array $form, FormStateInterface $form_state, AccountIn
\CRM_Core_Resources::singleton()->addCoreResources();

$form['#title'] = $this->user->getAccountName();
$form['#attributes'] = ['enctype' => "multipart/form-data"];
$form['form'] = [
'#type' => 'fieldset',
'#title' => $this->ufGroup['title'],
Expand Down

0 comments on commit 143bed9

Please sign in to comment.