diff --git a/forms/ComplexTableField.php b/forms/ComplexTableField.php index 6d630ee7e..95ce07048 100755 --- a/forms/ComplexTableField.php +++ b/forms/ComplexTableField.php @@ -487,6 +487,9 @@ JS; } function getFieldsFor($childData) { + $hasManyRelationName = null; + $manyManyRelationName = null; + // See if our parent class has any many_many relations by this source class if($parentClass = $this->getParentRecord()) { $manyManyRelations = $parentClass->many_many();