diff options
Diffstat (limited to '')
-rw-r--r-- | Mailman/Cgi/admin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py index 49c6efbf..1c629c10 100644 --- a/Mailman/Cgi/admin.py +++ b/Mailman/Cgi/admin.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2003 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -1376,7 +1376,7 @@ def change_options(mlist, category, subcat, cgidata, doc): newlang = cgidata.getvalue(user+'_language') oldlang = mlist.getMemberLanguage(user) - if newlang and newlang <> oldlang: + if Utils.IsLanguage(newlang) and newlang <> oldlang: mlist.setMemberLanguage(user, newlang) moderate = not not cgidata.getvalue(user+'_mod') |