diff --git a/LEAF_Request_Portal/sources/FormStack.php b/LEAF_Request_Portal/sources/FormStack.php index 45987f8ae..9665447aa 100644 --- a/LEAF_Request_Portal/sources/FormStack.php +++ b/LEAF_Request_Portal/sources/FormStack.php @@ -194,6 +194,10 @@ private function importIndicator($indicatorPackage, $categoryID, $parentID = nul { $indicatorPackage['categoryID'] = $categoryID; $indicatorPackage['parentID'] = $parentID; + //an issue on conditions editor release could cause some form packets to have 'null' instead of null. + if($indicatorPackage['conditions'] === 'null') { + $indicatorPackage['conditions'] = null; + } if (is_array($indicatorPackage['options'])) { diff --git a/LEAF_Request_Portal/templates/subindicators.tpl b/LEAF_Request_Portal/templates/subindicators.tpl index 697fec56c..75a68f434 100644 --- a/LEAF_Request_Portal/templates/subindicators.tpl +++ b/LEAF_Request_Portal/templates/subindicators.tpl @@ -1237,7 +1237,7 @@ - +