SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 98668dda authored by George Katsikas's avatar George Katsikas :goat:
Browse files

fix: :bug: transfer orcid id when merging profiles

parent e53f020f
No related branches found
No related tags found
No related merge requests found
......@@ -201,7 +201,7 @@ class ProfileMergeForm(forms.Form):
profile_old: "Profile" = self.cleaned_data["to_merge"]
# Merge information from old to new Profile.
if profile.orcid_id == "":
if profile.orcid_id is None:
profile.orcid_id = profile_old.orcid_id
if profile.webpage == "":
profile.webpage = profile_old.webpage
......
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