[freeside-commits] freeside/rt/lib/RT/Interface Web.pm, 1.1.1.11, 1.3

Ivan,,, ivan at wavetail.420.am
Mon Jul 19 17:59:04 PDT 2010


Update of /home/cvs/cvsroot/freeside/rt/lib/RT/Interface
In directory wavetail.420.am:/tmp/cvs-serv3908/lib/RT/Interface

Modified Files:
	Web.pm 
Log Message:
RT custom fields patch, RT#8449

Index: Web.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/lib/RT/Interface/Web.pm,v
retrieving revision 1.1.1.11
retrieving revision 1.3
diff -u -w -d -r1.1.1.11 -r1.3
--- Web.pm	18 May 2010 18:44:58 -0000	1.1.1.11
+++ Web.pm	20 Jul 2010 00:59:01 -0000	1.3
@@ -1714,6 +1714,9 @@
                 $values_hash{$val} = 1 if $val;
             }
 
+            # For Date Cfs, @values is empty when there is no changes (no datas in form input)
+            return @results if ( $cf->Type eq 'Date' && ! @values );
+
             $cf_values->RedoSearch;
             while ( my $cf_value = $cf_values->Next ) {
                 next if $values_hash{ $cf_value->id };



More information about the freeside-commits mailing list