Changeset 5682
- Timestamp:
- 11/30/09 05:08:19 (2 years ago)
- File:
-
- 1 edited
-
trunk/GenPDFAddOn/lib/Foswiki/Contrib/GenPDF.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/GenPDFAddOn/lib/Foswiki/Contrib/GenPDF.pm
r5681 r5682 141 141 142 142 sub _getRenderedView { 143 my ( $webName, $topic ) = @_;144 145 my $text = Foswiki::Func::readTopicText( $webName, $topic );143 my ( $webName, $topic, $rev) = @_; 144 145 my $text = Foswiki::Func::readTopicText( $webName, $topic, $rev ); 146 146 147 147 # FIXME - must be a better way? … … 1017 1017 my $webName = $session->{webName}; 1018 1018 my $topic = $session->{topicName}; 1019 my $rev = $query->param('rev'); 1019 1020 1020 1021 open( STDERR, ">>$Foswiki::cfg{DataDir}/error.log" ) … … 1096 1097 _writeDebug("preparing $topic"); # DEBUG 1097 1098 # Get ready to display HTML topic 1098 my $htmlData = _getRenderedView( $webName, $topic );1099 my $htmlData = _getRenderedView( $webName, $topic, $rev ); 1099 1100 1100 1101 # Fix topic text (i.e. correct any problems with the HTML that htmldoc might not like
Note: See TracChangeset
for help on using the changeset viewer.
