summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2003-01-27 21:39:43 +0000
committerbwarsaw2003-01-27 21:39:43 +0000
commitffc3fc17f0d3ca0cb6530b31acde2791bfc3de1f (patch)
treef2b6235849a682c2ad4c069210e5cdb6668ee216
parent5ea18733bb0ca68b1bd22b39ecfd1a6fd172823b (diff)
downloadmailman-ffc3fc17f0d3ca0cb6530b31acde2791bfc3de1f.tar.gz
mailman-ffc3fc17f0d3ca0cb6530b31acde2791bfc3de1f.tar.zst
mailman-ffc3fc17f0d3ca0cb6530b31acde2791bfc3de1f.zip
-rw-r--r--Mailman/Cgi/admin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py
index 49c6efbfe..1c629c10d 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')