Fix NPE on null user.
parent
a8e2c74a21
commit
e0dac73873
|
@ -542,7 +542,7 @@ public class MindmapController extends BaseController {
|
|||
mindmap.setXmlStr(mapXml);
|
||||
|
||||
// Add new mindmap ...
|
||||
final User user = Utils.getUser();
|
||||
final User user = Utils.getUser(true);
|
||||
mindmapService.addMindmap(mindmap, user);
|
||||
|
||||
// Return the new created map ...
|
||||
|
|
Loading…
Reference in New Issue