diff options
-rwxr-xr-x | httemplate/search/report_receivables.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/report_receivables.cgi b/httemplate/search/report_receivables.cgi index c3dc9902c..061febc10 100755 --- a/httemplate/search/report_receivables.cgi +++ b/httemplate/search/report_receivables.cgi @@ -117,7 +117,7 @@ END my $row = shift; my $status = 'unknown'; - if ( $self->num_pkgs == 0 ) { + if ( $row->num_pkgs == 0 ) { $status = 'prospect'; } elsif ( $row->active_pkgs > 0 ) { $status = 'active'; |