X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/blobdiff_plain/c15d698f84d77c34393d33dbe492d44694619010..a6d541bf864bfddb4d3fb75a29b1962ffb0bcdc9:/userlanguages.py?ds=sidebyside diff --git a/userlanguages.py b/userlanguages.py index 8103d15..40fca2a 100644 --- a/userlanguages.py +++ b/userlanguages.py @@ -10,5 +10,5 @@ class AuthenticatedUserLanguages(BrowserLanguages): return super(AuthenticatedUserLanguages, self).getPreferredLanguages() else : m = mtool.getAuthenticatedMember() - userLangs = m.getProperty('preferred_languages', []) + userLangs = m.getProperty('preferred_languages', [])[:] return userLangs or super(AuthenticatedUserLanguages, self).getPreferredLanguages()