Skip to content
Snippets Groups Projects
Commit a0e419e4 authored by tmortagne's avatar tmortagne
Browse files

XWIKI-11972 : Separate rating pages should have an author

* fix checkstyle
parent 1de44245
No related branches found
No related tags found
No related merge requests found
......@@ -212,7 +212,8 @@ public void save() throws RatingsException
document.setContentDirty(false);
document.setCreatorReference(superadmin);
document.setAuthorReference(superadmin);
context.getWiki().saveDocument(getDocument(), context.getMessageTool().get("rating.saveComment"), true, context);
context.getWiki().saveDocument(getDocument(), context.getMessageTool().get("rating.saveComment"), true,
context);
} catch (XWikiException e) {
throw new RatingsException(e);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment