Fix regression bug.

This commit is contained in:
Paulo Gustavo Veiga
2020-11-23 18:17:48 -08:00
parent 3ef7f6a7f0
commit 7a5b4ca75a
2 changed files with 10 additions and 7 deletions

View File

@@ -653,7 +653,7 @@ public class MindmapController extends BaseController {
if (found == null) {
throw new LabelCouldNotFoundException("Label could not be found. Id: " + labelId);
}
for (String id : ",".split(ids)) {
for (String id : ids.split(",")) {
final int mindmapId = Integer.parseInt(id);
final Mindmap mindmap = findMindmapById(mindmapId);
final Label label = mindmap.findLabel(labelId);