diff --git a/ccm-cms-types-mparticle/src/com/arsdigita/cms/contenttypes/ArticleSectionXMLGenerator.java b/ccm-cms-types-mparticle/src/com/arsdigita/cms/contenttypes/ArticleSectionXMLGenerator.java index d3289c05f..f677f6a8d 100644 --- a/ccm-cms-types-mparticle/src/com/arsdigita/cms/contenttypes/ArticleSectionXMLGenerator.java +++ b/ccm-cms-types-mparticle/src/com/arsdigita/cms/contenttypes/ArticleSectionXMLGenerator.java @@ -116,7 +116,7 @@ public class ArticleSectionXMLGenerator implements ExtraXMLGenerator { sectionElem.setCDATASection(section.getTitle()); final String link; if (currentPage.getPageNumber() == pageNr) { - link = String.format("#section-%d", pageNr); + link = String.format("#section-%d", sectionNr); } else { link = String.format("?page=%d#section-%d", pageNr, sectionNr); }