[master | DONE | CHANGED]: IndicatorController.java: Completing previous commit - In method "createSectionsAndSaveBulk()", on createSection() call, always set title parameter to section.getTitle() (even if it is null).
This commit is contained in:
parent
52c760af1c
commit
1461f1851e
|
@ -82,10 +82,10 @@ public class IndicatorController {
|
|||
List<String> number_indicators = null;
|
||||
|
||||
if(section.getType().equals("chart")) {
|
||||
chart_section = createSection(chart_section, "chart", (section.getTitle() != null ? section.getTitle() : "Charts"), date, stakeholder, topicId, categoryId, subcategoryId);
|
||||
chart_section = createSection(chart_section, "chart", section.getTitle(), date, stakeholder, topicId, categoryId, subcategoryId);
|
||||
chart_indicators = chart_section.getIndicators();
|
||||
} else if(section.getType().equals("number")) {
|
||||
number_section = createSection(number_section, "number", (section.getTitle() != null ? section.getTitle() : "Numbers"), date, stakeholder, topicId, categoryId, subcategoryId);
|
||||
number_section = createSection(number_section, "number", section.getTitle(), date, stakeholder, topicId, categoryId, subcategoryId);
|
||||
number_indicators = number_section.getIndicators();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue