1 |
unnilennium |
1.1 |
--- ezmlm-web-3.3.1/ezmlm-web.cgi.ori 2016-04-18 23:46:09.000000000 -0400 |
2 |
|
|
+++ ezmlm-web-3.3.1/ezmlm-web.cgi 2016-04-20 05:03:33.000000000 -0400 |
3 |
|
|
@@ -2064,7 +2064,10 @@ |
4 |
|
|
if (defined($q->param("setting_state_$i"))) { |
5 |
|
|
$options .= " -$i '" . $q->param("setting_value_$i") . "'"; |
6 |
|
|
} else { |
7 |
|
|
- if ($i != 5) { |
8 |
|
|
+ if ($i == 3) { |
9 |
|
|
+ unlink("$LIST_DIR/$listname/fromheader"); warn "delete $LIST_DIR/$listname/fromheader"; |
10 |
|
|
+ } |
11 |
|
|
+ elsif ($i != 5) { |
12 |
|
|
# everything except for the "owner" attribute: |
13 |
|
|
# do not set the value to an empty string, |
14 |
|
|
# as ezmlm-idx 5.0 does not work correctly for this case |
15 |
|
|
@@ -2427,7 +2430,7 @@ |
16 |
|
|
if (defined($q->param('option_t'))) { |
17 |
|
|
# TODO: the trailer _must_ be followed by a newline |
18 |
|
|
#$list->set_text_content('trailer', $q->param('trailing_text')); |
19 |
|
|
- $list->set_text_content('trailer', $list->get_text_default_content('trailer')) |
20 |
|
|
+ $list->set_text_content('trailer', $list->get_text_content('trailer')) |
21 |
|
|
unless (-e "$list->{'LIST_NAME'}/text/trailer"); |
22 |
|
|
} else { |
23 |
|
|
# ezmlm-make automatically removes this file |