Subject: | appendText breaks if Birth/Death date are unknown |
I have some very old people in a GEDCOM file, and the exact date of
their death is unknown line's 145 and 146 can't take this.
$date->appendText( $self->get_value( "$name date" ) );
$place->appendText( $self->get_value( "$name place" ) );
I changed them to
$date->appendText( $self->get_value( "$name date" ) || 'UNKNOWN' );
$place->appendText( $self->get_value( "$name place" ) || 'UNKNOWN' );
and the issue was resolved.