summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailman/htmlformat.py4
-rw-r--r--modules/htmlformat.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/Mailman/htmlformat.py b/Mailman/htmlformat.py
index 2a8b0d175..ce1abba06 100644
--- a/Mailman/htmlformat.py
+++ b/Mailman/htmlformat.py
@@ -388,11 +388,11 @@ class RadioButtonArray:
l = len(self.button_names)
for i in range(l):
if self.checked == i:
- items.append(self.button_names[i])
items.append(RadioButton(self.name, i, 1))
- else:
items.append(self.button_names[i])
+ else:
items.append(RadioButton(self.name, i))
+ items.append(self.button_names[i])
if self.horizontal:
t.AddRow(items)
else:
diff --git a/modules/htmlformat.py b/modules/htmlformat.py
index 2a8b0d175..ce1abba06 100644
--- a/modules/htmlformat.py
+++ b/modules/htmlformat.py
@@ -388,11 +388,11 @@ class RadioButtonArray:
l = len(self.button_names)
for i in range(l):
if self.checked == i:
- items.append(self.button_names[i])
items.append(RadioButton(self.name, i, 1))
- else:
items.append(self.button_names[i])
+ else:
items.append(RadioButton(self.name, i))
+ items.append(self.button_names[i])
if self.horizontal:
t.AddRow(items)
else: