[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-593-ge547f51

Shawn Moore sartak at bestpractical.com
Thu Aug 26 01:58:23 EDT 2010


The branch, 3.9-trunk has been updated
       via  e547f519b68b00b2ca0d4e42a23e9f51f1a9b274 (commit)
      from  4294f3a1eef394ac63bb47b5baef6d3b2a506c69 (commit)

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

- Log -----------------------------------------------------------------
commit e547f519b68b00b2ca0d4e42a23e9f51f1a9b274
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Aug 26 01:34:34 2010 -0400

    If you can't see the CF's name then just say "a custom field"
    
        Otherwise we interpolate undef into the string

diff --git a/lib/RT/Transaction_Overlay.pm b/lib/RT/Transaction_Overlay.pm
index dfc21b5..a069995 100755
--- a/lib/RT/Transaction_Overlay.pm
+++ b/lib/RT/Transaction_Overlay.pm
@@ -728,6 +728,7 @@ sub BriefDescription {
             my $cf = RT::CustomField->new( $self->CurrentUser );
             $cf->Load( $self->Field );
             $field = $cf->Name();
+            $field = $self->loc('a custom field') if !defined($field);
         }
 
         my $new = $self->NewValue;

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


More information about the Rt-commit mailing list