[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.6-335-g86ce5bf

Shawn Moore sartak at bestpractical.com
Thu Dec 2 13:14:09 EST 2010


The branch, 3.9-trunk has been updated
       via  86ce5bfd359306c38cfe9b4ab388b75e4fa1f0ed (commit)
      from  ee7ab1d983b5ccc9fb84bf5a1764c059c1656e2f (commit)

Summary of changes:
 share/html/Ticket/Update.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 86ce5bfd359306c38cfe9b4ab388b75e4fa1f0ed
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Dec 2 13:13:27 2010 -0500

    Default TxnRecipients to '' to avoid undef warnings
    
        Fixes t/web/ticket_owner.t

diff --git a/share/html/Ticket/Update.html b/share/html/Ticket/Update.html
index 420f436..7e09de3 100755
--- a/share/html/Ticket/Update.html
+++ b/share/html/Ticket/Update.html
@@ -287,7 +287,7 @@ if ( $ARGS{'SubmitTicket'} ) {
         (ref $ARGS{'TxnSendMailTo'} eq "ARRAY" ? @{$ARGS{'TxnSendMailTo'}}
              : defined $ARGS{'TxnSendMailTo'} ? ($ARGS{'TxnSendMailTo'}) : ());
 
-    my @squelchlist = grep {not $checked{$_}} split /,/, $ARGS{'TxnRecipients'};
+    my @squelchlist = grep {not $checked{$_}} split /,/, ($ARGS{'TxnRecipients'}||'');
     $ARGS{'SquelchMailTo'} = \@squelchlist if @squelchlist;
 
     my $CFs = $TicketObj->TransactionCustomFields;

-----------------------------------------------------------------------


More information about the Rt-commit mailing list