=================================================================== RCS file: /cvs/RT/Invoicing/rt_invoices.pl,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- RT/Invoicing/rt_invoices.pl 2011/05/07 02:03:55 1.31 +++ RT/Invoicing/rt_invoices.pl 2011/05/07 02:09:43 1.32 @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $AFresh1: rt_invoices.pl,v 1.30 2011/05/03 04:41:11 andrew Exp $ +# $AFresh1: rt_invoices.pl,v 1.31 2011/05/07 01:03:55 andrew Exp $ ######################################################################## # Copyright (c) 2011 Andrew Fresh # @@ -102,7 +102,7 @@ my $hours = hours_for_date( $cust->{invoice}, $fee->{date} ); my $type = exists $hours->{ $fee->{type} } - && $hours->{ $fee->{type} } > 0 ? $type : 'default'; + && $hours->{ $fee->{type} } > 0 ? $fee->{type} : 'default'; next unless exists $hours->{$type} && $hours->{$type} > 0;