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