Skip to content

Commit

Permalink
Item11983: let readTopic() return a valid version id
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@15265 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Aug 7, 2012
1 parent d42c491 commit 72a1469
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/lib/Foswiki/Store/VC/Store.pm
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ sub readTopic {
if @validAttachmentsFound;
}

ASSERT( defined($gotRev) ) if DEBUG;
$gotRev ||= 1; # anything going out here must be > 0

return ( $gotRev, $isLatest );
}

Expand Down

0 comments on commit 72a1469

Please sign in to comment.