i should REALLY go to sleep
authorivan <ivan>
Sun, 23 Jul 2006 14:17:56 +0000 (14:17 +0000)
committerivan <ivan>
Sun, 23 Jul 2006 14:17:56 +0000 (14:17 +0000)
httemplate/search/report_receivables.cgi

index c3dc990..061febc 100755 (executable)
@@ -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';