- Fix duplicate map bug.

This commit is contained in:
Paulo Gustavo Veiga
2012-06-24 20:25:27 -03:00
parent c4ad5810da
commit ec41dafcf5
3 changed files with 9 additions and 10 deletions

View File

@@ -413,7 +413,6 @@ public class MindmapController extends BaseController {
final MindMap clonedMap = mindMap.shallowClone();
clonedMap.setTitle(restMindmap.getTitle());
clonedMap.setDescription(restMindmap.getDescription());
clonedMap.setCreator(user);
// Add new mindmap ...
mindmapService.addMindmap(clonedMap, user);