=================================================================== RCS file: /cvs/RT/Invoicing/rt_invoices.pl,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- RT/Invoicing/rt_invoices.pl 2013/02/05 03:41:58 1.49 +++ RT/Invoicing/rt_invoices.pl 2013/06/20 05:36:06 1.50 @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $AFresh1: rt_invoices.pl,v 1.48 2012/11/28 02:23:34 andrew Exp $ +# $AFresh1: rt_invoices.pl,v 1.49 2013/02/05 03:41:58 andrew Exp $ ######################################################################## # Copyright (c) 2011 Andrew Fresh # @@ -538,7 +538,7 @@ # XXX Only need $ticket for the alternate subject my $work_time = sprintf "%.03f", $txn->time_taken / 60; - my $work_type = $txn->cf('WorkType'); + my $work_type = $txn->cf('WorkType') || ''; if ( $work_type =~ s/\s*Onsite//i ) {