From: <Cra...@nt...> - 2005-11-04 12:30:13
|
Author: CrawfordCurrie Date: 2005-11-04 04:28:17 -0800 (Fri, 04 Nov 2005) New Revision: 7296 Modified: twiki/branches/DEVELOP/lib/TWiki/Render.pm Log: Item832: minor problem with minor changes Modified: twiki/branches/DEVELOP/lib/TWiki/Render.pm =================================================================== --- twiki/branches/DEVELOP/lib/TWiki/Render.pm 2005-11-04 12:17:51 UTC (rev 7295) +++ twiki/branches/DEVELOP/lib/TWiki/Render.pm 2005-11-04 12:28:17 UTC (rev 7296) @@ -1682,8 +1682,7 @@ my $store = $this->{session}->{store}; my( $nmeta, $ntext ) = $store->readTopic( $user, $web, $topic, $nrev ); - - if( $nrev > 1 && $orev ne $nrev ) { + if( $nrev && $nrev > 1 && $orev ne $nrev ) { my $metaPick = qr/^[A-Z](?!OPICINFO)/; # all except TOPICINFO # there was a prior version. Diff it. $ntext = $this->TML2PlainText( |