sub cust_payby {
my $self = shift;
- grep { ! exists $hash{$_}->{cust_main} } self->payby;
+ grep { ! exists $hash{$_}->{cust_main} } $self->payby;
}
sub cust_payby2longname {
=head1 BUGS
-This should eventually be an actual database table.
+This should eventually be an actual database table, and all tables that
+currently have a char payby field should have a foreign key into here instead.
=head1 SEE ALSO