[otrs-cvs] CVS: otrs/Kernel/System Ticket.pm,1.209,1.210

cvs-log at otrs.org cvs-log at otrs.org
Mon May 29 14:35:39 CEST 2006


Update of /home/cvs/otrs/Kernel/System
In directory lancelot:/tmp/cvs-serv14750/Kernel/System

Modified Files:
	Ticket.pm 
Log Message:
fixed problem with freetext fields (>10)

Index: Ticket.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/Ticket.pm,v
retrieving revision 1.209
retrieving revision 1.210
diff -C2 -r1.209 -r1.210
*** Ticket.pm	8 May 2006 10:51:47 -0000	1.209
--- Ticket.pm	29 May 2006 11:35:37 -0000	1.210
***************
*** 1333,1337 ****
      if ($Param{FillUp}) {
          my $Counter = $Param{Type};
!         $Counter =~ s/^.*(\d)$/$1/;
          if (%Data && $Param{Type} =~ /text/i) {
              $Self->{DBObject}->Prepare(SQL => "SELECT distinct(freetext$Counter) FROM ticket");
--- 1333,1337 ----
      if ($Param{FillUp}) {
          my $Counter = $Param{Type};
!         $Counter =~ s/^.+?(\d+?)$/$1/;
          if (%Data && $Param{Type} =~ /text/i) {
              $Self->{DBObject}->Prepare(SQL => "SELECT distinct(freetext$Counter) FROM ticket");



More information about the cvs-log mailing list