Correct auto-0 public_ack.

Actually, public_ack can be NULL and that's ok.  It indicates that the
donor has not answered the question yet.
This commit is contained in:
Bradley M. Kuhn 2015-12-30 17:04:00 -08:00
parent 990fa89f1d
commit c9c85bb540

View file

@ -126,8 +126,6 @@ sub addSupporter ($$) {
die "ledger_entity_id required" unless defined $sp->{ledger_entity_id}; die "ledger_entity_id required" unless defined $sp->{ledger_entity_id};
$sp->{public_ack} = 0 if not defined $sp->{public_ack};
if ($sp->{public_ack}) { if ($sp->{public_ack}) {
die "display_name required if public_ack requested" unless defined $sp->{display_name}; die "display_name required if public_ack requested" unless defined $sp->{display_name};
} }