X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/c15d698f84d77c34393d33dbe492d44694619010..295c970dced68244545508dda5e5c352813145f0:/userlanguages.py 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()