mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-21 21:57:56 +01:00
Fix NPE on null user.
This commit is contained in:
parent
a8e2c74a21
commit
e0dac73873
@ -542,7 +542,7 @@ public class MindmapController extends BaseController {
|
|||||||
mindmap.setXmlStr(mapXml);
|
mindmap.setXmlStr(mapXml);
|
||||||
|
|
||||||
// Add new mindmap ...
|
// Add new mindmap ...
|
||||||
final User user = Utils.getUser();
|
final User user = Utils.getUser(true);
|
||||||
mindmapService.addMindmap(mindmap, user);
|
mindmapService.addMindmap(mindmap, user);
|
||||||
|
|
||||||
// Return the new created map ...
|
// Return the new created map ...
|
||||||
|
Loading…
Reference in New Issue
Block a user