/[smecontribs]/rpms/ezmlm-web/contribs9/ezmlm-web-3.3.1-cgi.patch
ViewVC logotype

Contents of /rpms/ezmlm-web/contribs9/ezmlm-web-3.3.1-cgi.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Apr 22 09:24:36 2016 UTC (8 years, 7 months ago) by unnilennium
Branch: MAIN
CVS Tags: ezmlm-web-3_3_1-7_el6_sme, ezmlm-web-3_3_1-5_el6_sme, ezmlm-web-3_3_1-6_el6_sme, HEAD
Initial import

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");
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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed