[Rt-commit] r7596 - in rtir/branches/2.3-EXPERIMENTAL: .

jesse at bestpractical.com jesse at bestpractical.com
Fri Apr 20 16:46:05 EDT 2007


Author: jesse
Date: Fri Apr 20 16:46:05 2007
New Revision: 7596

Modified:
   rtir/branches/2.3-EXPERIMENTAL/   (props changed)
   rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Report/BulkReject.html

Log:
 r55805 at pinglin:  jesse | 2007-04-20 16:45:57 -0400
  * quieting undef warnings


Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Report/BulkReject.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Report/BulkReject.html	(original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Report/BulkReject.html	Fri Apr 20 16:46:05 2007
@@ -104,7 +104,7 @@
             next;
         }
 
-        my $oldstate = RT::IR::Ticket::FirstCustomFieldValue( $t, '_RTIR_State' );
+        my $oldstate = RT::IR::Ticket::FirstCustomFieldValue( $t, '_RTIR_State' ) ||'';
         
         if ( $t->Owner != $session{'CurrentUser'}->id &&
              $t->Owner == $RT::Nobody->id )
@@ -119,7 +119,7 @@
 
         push @tempresults, ProcessTicketBasics( ARGSRef => \%ARGS, TicketObj => $t );
 
-        my $newstate = RT::IR::Ticket::FirstCustomFieldValue( $t, '_RTIR_State' );
+        my $newstate = RT::IR::Ticket::FirstCustomFieldValue( $t, '_RTIR_State' ) ||'';
         if ( $newstate ne $oldstate ) {
             push @tempresults,
                  [ $id, loc("State changed from [_1] to [_2]", $oldstate, $newstate ) ];


More information about the Rt-commit mailing list