[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-560-gd02e6ba

Shawn Moore sartak at bestpractical.com
Tue Aug 24 22:34:12 EDT 2010


The branch, 3.9-trunk has been updated
       via  d02e6ba5d51258abdc5a71b0329d46c2dda82c73 (commit)
      from  e3bf88a0468befd2e6d1f04c97ed7ef51a21e833 (commit)

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

- Log -----------------------------------------------------------------
commit d02e6ba5d51258abdc5a71b0329d46c2dda82c73
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Aug 24 22:36:10 2010 -0400

    Cope better with being able to update but not see a CF

diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 2f5d045..90e3f3f 100755
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -1648,7 +1648,7 @@ sub ProcessObjectCustomFieldUpdates {
 sub _ProcessObjectCustomFieldUpdates {
     my %args    = @_;
     my $cf      = $args{'CustomField'};
-    my $cf_type = $cf->Type;
+    my $cf_type = $cf->Type || '';
 
     # Remove blank Values since the magic field will take care of this. Sometimes
     # the browser gives you a blank value which causes CFs to be processed twice

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


More information about the Rt-commit mailing list