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