Answers.Body: <p>Check if there are any spaces between the brackets and tokens in the Individual Display Name Format section of Display Preferences - /civicrm/admin/setting/preferences/display?reset=1</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-10-09T08:20:16.460Z
Answers.LastActivityDate: 2024-10-09T08:20:16.460Z
Answers.UserDisplayName: Anil
Body: <p>I'm editing contacts in 5.78, Drupal 7, no extensions, no components.</p>
  <p>If I edit a contact, on save, the display name has curly brackets.</p>
  <p>So John Smith becomes { John Smith } and displays thus wherever the display name is shown.</p>
  <p>Same when creating a new contact. Tried on php 7.4 to 8.3.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-10-08T10:26:44.670Z
Comments.Text: Check if there are any spaces between the brackets and tokens in the Individual Display Name Format section of Display Preferences - /civicrm/admin/setting/preferences/display?reset=1
Comments.UserDisplayName: Anil
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-10-08T10:30:12.663Z
Comments.Text: Cheers @Anil that fixed it
Comments.UserDisplayName: Tony Horrocks
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-10-08T18:56:43.373Z
Comments.Text: Anil - can you add that as an Answer
Comments.UserDisplayName: petednz - fuzion
Tags: <contacts><angular>
Title: Saving a contact created curly brackets around the display name
ThreadText: # Saving a contact created curly brackets around the display name
  
  (Asked by: username_0 on 2024-10-08)
  
  I'm editing contacts in 5.78, Drupal 7, no extensions, no components.
  
  If I edit a contact, on save, the display name has curly brackets.
  
  So John Smith becomes { John Smith } and displays thus wherever the display name is shown.
  
  Same when creating a new contact. Tried on php 7.4 to 8.3.
  
  **Tags:** contacts, angular
  
  > **Comments:**
  > **username_1**: Check if there are any spaces between the brackets and tokens in the Individual Display Name Format section of Display Preferences - /civicrm/admin/setting/preferences/display?reset=1  
  > **username_0**: Cheers @username_1 that fixed it  
  > **username_2**: username_1 - can you add that as an Answer  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-10-09. Score: 3 | Accepted answer
  
  Check if there are any spaces between the brackets and tokens in the Individual Display Name Format section of Display Preferences - /civicrm/admin/setting/preferences/display?reset=1
  
  
  ---
  
  