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