[rt-users] Minor patch

Brian Gallew geek+rt at cmu.edu
Mon Oct 8 04:03:21 EDT 2007


The following patch prevents an error message about "Unknown update 
type" on my RT installation whenever I try to update a multi-choice 
custom field with categories.

--- lib/RT/Interface/Web.pm     2007-07-19 22:30:01.000000000 +0300
+++ local/lib/RT/Interface/Web.pm       2007-10-07 15:10:17.000000000 +0300
@@ -1281,6 +1281,7 @@
             s/\r//g foreach @values;
         }
         @values = grep defined && $_ ne '', @values;
+        next if $arg =~ /Category$/;
 
         if ( $arg eq 'AddValue' || $arg eq 'Value' ) {
             foreach my $value (@values) {




More information about the rt-users mailing list