SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit e11f19f8 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Fix 1243784395

parent c05e428c
No related branches found
No related tags found
No related merge requests found
......@@ -111,7 +111,8 @@ class ProfileMergeForm(forms.Form):
profile_old = self.cleaned_data['to_merge']
# Merge scientific information from old Profile to the new Profile.
profile.expertises += list(set(profile_old.expertises) - set(profile.expertises))
profile.expertises = list(
set(profile_old.expertises or []) | set(profile.expertises or []))
if profile.orcid_id is None:
profile.orcid_id = profile_old.orcid_id
if profile.webpage is None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment