[Rt-commit] r2980 - in rt/branches/CHALDEA-EXPERIMENTAL: . html html/Elements

jesse at bestpractical.com jesse at bestpractical.com
Mon May 30 01:14:30 EDT 2005


Author: jesse
Date: Mon May 30 01:14:30 2005
New Revision: 2980

Modified:
   rt/branches/CHALDEA-EXPERIMENTAL/   (props changed)
   rt/branches/CHALDEA-EXPERIMENTAL/html/Elements/EditCustomFieldSelect
   rt/branches/CHALDEA-EXPERIMENTAL/html/autohandler
Log:
 r17993 at hualien:  jesse | 2005-05-30 01:09:25 -0400
 * combobox custom fields caused  a system error on bulk update


Modified: rt/branches/CHALDEA-EXPERIMENTAL/html/Elements/EditCustomFieldSelect
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/html/Elements/EditCustomFieldSelect	(original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/html/Elements/EditCustomFieldSelect	Mon May 30 01:14:30 2005
@@ -117,10 +117,10 @@
             </optgroup>
 % }
 <%args>
-$CustomField
-$Default
-$Values
-$SelectedRef
-$CategoryRef
+$CustomField => undef
+$Default => undef
+$Values => undef
+$SelectedRef => undef
+$CategoryRef => undef
 </%args>
 </%method>

Modified: rt/branches/CHALDEA-EXPERIMENTAL/html/autohandler
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/html/autohandler	(original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/html/autohandler	Mon May 30 01:14:30 2005
@@ -72,12 +72,10 @@
 # This code canonicalizes time inputs in hours into minutes
 my @TimeUnitFields = grep { /-TimeUnits$/ } keys %ARGS;
 foreach my $field (@TimeUnitFields) { 
-    $RT::Logger->crit("Checking $field");
     next unless ($field =~ /^(.*?)-TimeUnits$/i);
     my $local = $1;
     if ($ARGS{$field} =~ /hours/i) {
         $ARGS{$local} *= 60;
-        $RT::Logger->crit("Multiplied $local by 60");
     }
     delete $ARGS{$field};
 }


More information about the Rt-commit mailing list