Ignore:
Timestamp:
12/04/09 16:24:36 (2 years ago)
Author:
CrawfordCurrie
Message:

Item8354: Martin Rowe fixed a problem with STARTPUBLISH in newsletters corrupting the template

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MailerContrib/lib/Foswiki/Contrib/MailerContrib.pm

    r5289 r5717  
    2727 
    2828our $VERSION = '$Rev$'; 
    29 our $RELEASE = '17 Oct 2009'; 
     29our $RELEASE = '4 Dec 2009'; 
    3030our $SHORTDESCRIPTION = 'Supports e-mail notification of changes'; 
    3131 
     
    490490    $tmpl = Foswiki::Func::expandCommonVariables( $tmpl, $topic, $web ); 
    491491    $tmpl = Foswiki::Func::renderText( $tmpl, "", $meta ); 
    492     $tmpl = "$header$tmpl"; 
    493492 
    494493    # REFACTOR OPPORTUNITY: stop factor me into getTWikiRendering() 
     
    513512        } 
    514513    } 
    515     $tmpl = $newTmpl; 
     514    $tmpl = $header . $newTmpl; 
    516515    $tmpl =~ s/.*?<\/nopublish>//gs; 
    517516    $tmpl =~ s/%MAXREV%/$maxrev/g; 
Note: See TracChangeset for help on using the changeset viewer.