[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-539-gd850c56

Shawn Moore sartak at bestpractical.com
Tue Aug 24 17:59:55 EDT 2010


The branch, 3.9-trunk has been updated
       via  d850c5674c451f40c9b51764b04e990997a1d8f3 (commit)
      from  97c79ca2aab1fdbfa194d8978618cc8316290cf1 (commit)

Summary of changes:
 lib/RT/Action/Notify.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit d850c5674c451f40c9b51764b04e990997a1d8f3
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Aug 24 18:02:11 2010 -0400

    Silence some undef warnings when there's no email addy in Action::Notify

diff --git a/lib/RT/Action/Notify.pm b/lib/RT/Action/Notify.pm
index bf1e179..cb77ac9 100755
--- a/lib/RT/Action/Notify.pm
+++ b/lib/RT/Action/Notify.pm
@@ -140,7 +140,7 @@ sub SetRecipients {
     }
 
     my $creatorObj = $self->TransactionObj->CreatorObj;
-    my $creator = $creatorObj->EmailAddress();
+    my $creator = $creatorObj->EmailAddress() || '';
 
     #Strip the sender out of the To, Cc and AdminCc and set the 
     # recipients fields used to build the message by the superclass.

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


More information about the Rt-commit mailing list