return true;
}
}
if (sectionNumber != 0) {
XWikiDocument sectionDoc = tdoc.clone();
<BUG>sectionDoc.readFromForm((EditForm) form, context);
String sectionContent = sectionDoc.getContent() + "\n";</BUG>
String content = tdoc.updateDocumentSection(sectionNumber, sectionContent);
tdoc.setContent(content);
tdoc.setComment(sectionDoc.getComment());

return true;
}
}
if (sectionNumber != 0) {
XWikiDocument sectionDoc = tdoc.clone();
sectionDoc.readFromForm(form, context);
String sectionContent = sectionDoc.getContent() + "\n";
String content = tdoc.updateDocumentSection(sectionNumber, sectionContent);
tdoc.setContent(content);
tdoc.setComment(sectionDoc.getComment());
