bug fixed

This commit is contained in:
Luis Fernando Molina committed 2019-11-27 10:29:09 +01:00
1 parent 878434b36c
commit 7d45d458b4
1 file changed
+5 -2
+5 -2
View File
@@ -89,8 +89,11 @@
singularVariableName = outputDatasetNode.referenceParent.parentNode.code.singularVariableName
/* Check Irregular Periods */
if (outputDatasetNode.referenceParent.parentNode.dataBuilding.loop.code.code.indexOf('results.push') >= 0) {
resultsWithIrregularPeriods = true
if (outputDatasetNode.referenceParent.parentNode.dataBuilding.loop.code !== undefined) {
if (outputDatasetNode.referenceParent.parentNode.dataBuilding.loop.code.code.indexOf('results.push') >= 0) {
resultsWithIrregularPeriods = true
}
}
/* Build the data */