Fix history bug.

This commit is contained in:
Paulo Gustavo Veiga
2013-03-29 14:51:21 -03:00
parent 81d3d591fa
commit dce29eda19
5 changed files with 12 additions and 11 deletions

View File

@@ -172,7 +172,7 @@ public class MindmapController extends BaseController {
List<MindMapHistory> mindmapHistory = mindmapService.findMindmapHistory(id);
if (mindmapHistory.size() > 0) {
final MindMapHistory mindMapHistory = mindmapHistory.get(0);
mindmap.setZippedXml(mindMapHistory.getXml());
mindmap.setZippedXml(mindMapHistory.getZippedXml());
saveMindmapDocument(true, mindmap, user);
}
} else {