Bugfix for meta data of the MPA, number of pages calculated was wrong under some circumstances.

git-svn-id: https://svn.libreccm.org/ccm/trunk@3096 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2015-01-20 10:57:05 +00:00
parent 8987ff7663
commit fa44c64eac
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public class MultiPartArticleDataXMLGenerator implements ExtraXMLGenerator {
return "0";
}
long numberOfPages = 1;
long numberOfPages = 0;
long index = 0;
long lastIndex = sections.size() - 1;
while(sections.next()) {