Fix NPE on null user.

main
Paulo Gustavo Veiga 2022-02-28 21:12:28 -08:00
parent a8e2c74a21
commit e0dac73873
1 changed files with 1 additions and 1 deletions

View File

@ -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 ...