[Bps-public-commit] r12933 - in RT-FormTools: .

falcone at bestpractical.com falcone at bestpractical.com
Thu Jun 5 15:53:24 EDT 2008


Author: falcone
Date: Thu Jun  5 15:53:22 2008
New Revision: 12933

Modified:
   RT-FormTools/   (props changed)
   RT-FormTools/html/FormTools/Field

Log:
 r33832 at ketch:  falcone | 2008-06-05 15:52:38 -0400
 * fix bug when dealing with non-cfs


Modified: RT-FormTools/html/FormTools/Field
==============================================================================
--- RT-FormTools/html/FormTools/Field	(original)
+++ RT-FormTools/html/FormTools/Field	Thu Jun  5 15:53:22 2008
@@ -34,7 +34,7 @@
     my $request_args = $m->request_args();
     if ( $field_type eq 'core' && $request_args->{$name} ) {
         $default = $request_args->{$name};
-    } elsif ( $cf->Id ) {
+    } elsif ( $field_type eq 'custom' &&  $cf->Id ) {
         $default = ($request_args->{$NamePrefix.$cf->Id."-Value"} || 
                     $request_args->{$NamePrefix.$cf->Id."-Values"} );
     }



More information about the Bps-public-commit mailing list