[otrs-cvs] CVS: otrs/Kernel/Modules AgentTicketBounce.pm,1.5,1.6 AgentTicketClose.pm,1.14,1.15 AgentTicketFreeText.pm,1.7,1.8 AgentTicketMerge.pm,1.5,1.6 AgentTicketNote.pm,1.14,1.15 AgentTicketOwner.pm,1.11,1.12 AgentTicketPending.pm,1.17,1.18 AgentTicketPhone.pm,1.19,1.20 AgentTicketPriority.pm,1.8,1.9 AgentTicketResponsible.pm,1.5,1.6

cvs-log at otrs.org cvs-log at otrs.org
Wed Aug 2 11:01:09 CEST 2006


Update of /home/cvs/otrs/Kernel/Modules
In directory lancelot:/tmp/cvs-serv23596/Kernel/Modules

Modified Files:
	AgentTicketBounce.pm AgentTicketClose.pm 
	AgentTicketFreeText.pm AgentTicketMerge.pm AgentTicketNote.pm 
	AgentTicketOwner.pm AgentTicketPending.pm AgentTicketPhone.pm 
	AgentTicketPriority.pm AgentTicketResponsible.pm 
Log Message:
added more attachments and 8 more free text fields

Index: AgentTicketBounce.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketBounce.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** AgentTicketBounce.pm	4 Mar 2006 11:34:53 -0000	1.5
--- AgentTicketBounce.pm	2 Aug 2006 08:01:06 -0000	1.6
***************
*** 174,179 ****
              $Param{$_} =~ s/<OTRS_FIRST_NAME>/$Self->{UserFirstname}/g;
              $Param{$_} =~ s/<OTRS_LAST_NAME>/$Self->{UserLastname}/g;
-             $Param{$_} =~ s/<OTRS_USER_ID>/$Self->{UserID}/g;
-             $Param{$_} =~ s/<OTRS_USER_LOGIN>/$Self->{UserLogin}/g;
              # replace user staff
              my %User = $Self->{UserObject}->GetUserData(
--- 174,177 ----

Index: AgentTicketClose.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketClose.pm,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** AgentTicketClose.pm	28 Mar 2006 04:54:11 -0000	1.14
--- AgentTicketClose.pm	2 Aug 2006 08:01:06 -0000	1.15
***************
*** 367,370 ****
--- 367,371 ----
                  ForceNotificationToUserID => [@{$Self->{InformUserID}}, @{$Self->{InvolvedUserID}}, ],
                  %GetParam,
+                 NoAgentNotify => 0,
              );
              if (!$ArticleID) {
***************
*** 425,430 ****
                  defined($GetParam{"TicketFreeTime".$_."Hour"}) &&
                  defined($GetParam{"TicketFreeTime".$_."Minute"})) {
!                 $Self->{TicketObject}->TicketFreeTimeSet(
                      %GetParam,
                      TicketID => $Self->{TicketID},
                      Counter => $_,
--- 426,435 ----
                  defined($GetParam{"TicketFreeTime".$_."Hour"}) &&
                  defined($GetParam{"TicketFreeTime".$_."Minute"})) {
!                 my %Time = $Self->{LayoutObject}->TransfromDateSelection(
                      %GetParam,
+                     Prefix => "TicketFreeTime".$_,
+                 );
+                 $Self->{TicketObject}->TicketFreeTimeSet(
+                     %Time,
                      TicketID => $Self->{TicketID},
                      Counter => $_,

Index: AgentTicketFreeText.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketFreeText.pm,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** AgentTicketFreeText.pm	28 Mar 2006 04:54:11 -0000	1.7
--- AgentTicketFreeText.pm	2 Aug 2006 08:01:06 -0000	1.8
***************
*** 157,161 ****
          AttachmentDelete1 AttachmentDelete2 AttachmentDelete3 AttachmentDelete4
          AttachmentDelete5 AttachmentDelete6 AttachmentDelete7 AttachmentDelete8
!         AttachmentDelete9 AttachmentDelete10 )) {
              $GetParam{$_} = $Self->{ParamObject}->GetParam(Param => $_);
      }
--- 157,162 ----
          AttachmentDelete1 AttachmentDelete2 AttachmentDelete3 AttachmentDelete4
          AttachmentDelete5 AttachmentDelete6 AttachmentDelete7 AttachmentDelete8
!         AttachmentDelete9 AttachmentDelete10 AttachmentDelete11 AttachmentDelete12
!         AttachmentDelete13 AttachmentDelete14 AttachmentDelete15 AttachmentDelete16)) {
              $GetParam{$_} = $Self->{ParamObject}->GetParam(Param => $_);
      }
***************
*** 218,222 ****
          }
          # attachment delete
!         foreach (1..10) {
              if ($GetParam{"AttachmentDelete$_"}) {
                  $Error{AttachmentDelete} = 1;
--- 219,223 ----
          }
          # attachment delete
!         foreach (1..16) {
              if ($GetParam{"AttachmentDelete$_"}) {
                  $Error{AttachmentDelete} = 1;
***************
*** 367,370 ****
--- 368,372 ----
                  ForceNotificationToUserID => [@{$Self->{InformUserID}}, @{$Self->{InvolvedUserID}}, ],
                  %GetParam,
+                 NoAgentNotify => 0,
              );
              if (!$ArticleID) {
***************
*** 425,430 ****
                  defined($GetParam{"TicketFreeTime".$_."Hour"}) &&
                  defined($GetParam{"TicketFreeTime".$_."Minute"})) {
!                 $Self->{TicketObject}->TicketFreeTimeSet(
                      %GetParam,
                      TicketID => $Self->{TicketID},
                      Counter => $_,
--- 427,436 ----
                  defined($GetParam{"TicketFreeTime".$_."Hour"}) &&
                  defined($GetParam{"TicketFreeTime".$_."Minute"})) {
!                 my %Time = $Self->{LayoutObject}->TransfromDateSelection(
                      %GetParam,
+                     Prefix => "TicketFreeTime".$_,
+                 );
+                 $Self->{TicketObject}->TicketFreeTimeSet(
+                     %Time,
                      TicketID => $Self->{TicketID},
                      Counter => $_,
***************
*** 554,562 ****
          $Output .= $Self->_Mask(
  #            %Ticket,
              %TicketFreeTextHTML,
              %TicketFreeTimeHTML,
              %ArticleFreeTextHTML,
-             %GetParam,
-             %Ticket,
          );
          $Output .= $Self->{LayoutObject}->Footer();
--- 560,568 ----
          $Output .= $Self->_Mask(
  #            %Ticket,
+             %GetParam,
+             %Ticket,
              %TicketFreeTextHTML,
              %TicketFreeTimeHTML,
              %ArticleFreeTextHTML,
          );
          $Output .= $Self->{LayoutObject}->Footer();

Index: AgentTicketMerge.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketMerge.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** AgentTicketMerge.pm	4 Mar 2006 11:34:53 -0000	1.5
--- AgentTicketMerge.pm	2 Aug 2006 08:01:06 -0000	1.6
***************
*** 252,257 ****
              $Param{$_} =~ s/<OTRS_FIRST_NAME>/$Self->{UserFirstname}/g;
              $Param{$_} =~ s/<OTRS_LAST_NAME>/$Self->{UserLastname}/g;
-             $Param{$_} =~ s/<OTRS_USER_ID>/$Self->{UserID}/g;
-             $Param{$_} =~ s/<OTRS_USER_LOGIN>/$Self->{UserLogin}/g;
              # replace ticket data
              foreach my $TicketKey (keys %Ticket) {
--- 252,255 ----

Index: AgentTicketNote.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketNote.pm,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** AgentTicketNote.pm	28 Mar 2006 04:54:11 -0000	1.14
--- AgentTicketNote.pm	2 Aug 2006 08:01:06 -0000	1.15
***************
*** 157,161 ****
          AttachmentDelete1 AttachmentDelete2 AttachmentDelete3 AttachmentDelete4
          AttachmentDelete5 AttachmentDelete6 AttachmentDelete7 AttachmentDelete8
!         AttachmentDelete9 AttachmentDelete10 )) {
              $GetParam{$_} = $Self->{ParamObject}->GetParam(Param => $_);
      }
--- 157,162 ----
          AttachmentDelete1 AttachmentDelete2 AttachmentDelete3 AttachmentDelete4
          AttachmentDelete5 AttachmentDelete6 AttachmentDelete7 AttachmentDelete8
!         AttachmentDelete9 AttachmentDelete10 AttachmentDelete11 AttachmentDelete12
!         AttachmentDelete13 AttachmentDelete14 AttachmentDelete15 AttachmentDelete16)) {
              $GetParam{$_} = $Self->{ParamObject}->GetParam(Param => $_);
      }
***************
*** 218,222 ****
          }
          # attachment delete
!         foreach (1..10) {
              if ($GetParam{"AttachmentDelete$_"}) {
                  $Error{AttachmentDelete} = 1;
--- 219,223 ----
          }
          # attachment delete
!         foreach (1..16) {
              if ($GetParam{"AttachmentDelete$_"}) {
                  $Error{AttachmentDelete} = 1;
***************
*** 367,370 ****
--- 368,372 ----
                  ForceNotificationToUserID => [@{$Self->{InformUserID}}, @{$Self->{InvolvedUserID}}, ],
                  %GetParam,
+                 NoAgentNotify => 0,
              );
              if (!$ArticleID) {
***************
*** 425,430 ****
                  defined($GetParam{"TicketFreeTime".$_."Hour"}) &&
                  defined($GetParam{"TicketFreeTime".$_."Minute"})) {
!                 $Self->{TicketObject}->TicketFreeTimeSet(
                      %GetParam,
                      TicketID => $Self->{TicketID},
                      Counter => $_,
--- 427,436 ----
                  defined($GetParam{"TicketFreeTime".$_."Hour"}) &&
                  defined($GetParam{"TicketFreeTime".$_."Minute"})) {
!                 my %Time = $Self->{LayoutObject}->TransfromDateSelection(
                      %GetParam,
+                     Prefix => "TicketFreeTime".$_,
+                 );
+                 $Self->{TicketObject}->TicketFreeTimeSet(
+                     %Time,
                      TicketID => $Self->{TicketID},
                      Counter => $_,

Index: AgentTicketOwner.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketOwner.pm,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** AgentTicketOwner.pm	28 Mar 2006 04:54:11 -0000	1.11
--- AgentTicketOwner.pm	2 Aug 2006 08:01:06 -0000	1.12
***************
*** 157,161 ****
          AttachmentDelete1 AttachmentDelete2 AttachmentDelete3 AttachmentDelete4
          AttachmentDelete5 AttachmentDelete6 AttachmentDelete7 AttachmentDelete8
!         AttachmentDelete9 AttachmentDelete10 )) {
              $GetParam{$_} = $Self->{ParamObject}->GetParam(Param => $_);
      }
--- 157,162 ----
          AttachmentDelete1 AttachmentDelete2 AttachmentDelete3 AttachmentDelete4
          AttachmentDelete5 AttachmentDelete6 AttachmentDelete7 AttachmentDelete8
!         AttachmentDelete9 AttachmentDelete10 AttachmentDelete11 AttachmentDelete12
!         AttachmentDelete13 AttachmentDelete14 AttachmentDelete15 AttachmentDelete16)) {
              $GetParam{$_} = $Self->{ParamObject}->GetParam(Param => $_);
      }
***************
*** 218,222 ****
          }
          # attachment delete
!         foreach (1..10) {
              if ($GetParam{"AttachmentDelete$_"}) {
                  $Error{AttachmentDelete} = 1;
--- 219,223 ----
          }
          # attachment delete
!         foreach (1..16) {
              if ($GetParam{"AttachmentDelete$_"}) {
                  $Error{AttachmentDelete} = 1;
***************
*** 367,370 ****
--- 368,372 ----
                  ForceNotificationToUserID => [@{$Self->{InformUserID}}, @{$Self->{InvolvedUserID}}, ],
                  %GetParam,
+                 NoAgentNotify => 0,
              );
              if (!$ArticleID) {
***************
*** 425,430 ****
                  defined($GetParam{"TicketFreeTime".$_."Hour"}) &&
                  defined($GetParam{"TicketFreeTime".$_."Minute"})) {
!                 $Self->{TicketObject}->TicketFreeTimeSet(
                      %GetParam,
                      TicketID => $Self->{TicketID},
                      Counter => $_,
--- 427,436 ----
                  defined($GetParam{"TicketFreeTime".$_."Hour"}) &&
                  defined($GetParam{"TicketFreeTime".$_."Minute"})) {
!                 my %Time = $Self->{LayoutObject}->TransfromDateSelection(
                      %GetParam,
+                     Prefix => "TicketFreeTime".$_,
+                 );
+                 $Self->{TicketObject}->TicketFreeTimeSet(
+                     %Time,
                      TicketID => $Self->{TicketID},
                      Counter => $_,

Index: AgentTicketPending.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketPending.pm,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** AgentTicketPending.pm	28 Mar 2006 04:54:11 -0000	1.17
--- AgentTicketPending.pm	2 Aug 2006 08:01:06 -0000	1.18
***************
*** 157,161 ****
          AttachmentDelete1 AttachmentDelete2 AttachmentDelete3 AttachmentDelete4
          AttachmentDelete5 AttachmentDelete6 AttachmentDelete7 AttachmentDelete8
!         AttachmentDelete9 AttachmentDelete10 )) {
              $GetParam{$_} = $Self->{ParamObject}->GetParam(Param => $_);
      }
--- 157,162 ----
          AttachmentDelete1 AttachmentDelete2 AttachmentDelete3 AttachmentDelete4
          AttachmentDelete5 AttachmentDelete6 AttachmentDelete7 AttachmentDelete8
!         AttachmentDelete9 AttachmentDelete10 AttachmentDelete11 AttachmentDelete12
!         AttachmentDelete13 AttachmentDelete14 AttachmentDelete15 AttachmentDelete16)) {
              $GetParam{$_} = $Self->{ParamObject}->GetParam(Param => $_);
      }
***************
*** 218,222 ****
          }
          # attachment delete
!         foreach (1..10) {
              if ($GetParam{"AttachmentDelete$_"}) {
                  $Error{AttachmentDelete} = 1;
--- 219,223 ----
          }
          # attachment delete
!         foreach (1..16) {
              if ($GetParam{"AttachmentDelete$_"}) {
                  $Error{AttachmentDelete} = 1;
***************
*** 367,370 ****
--- 368,372 ----
                  ForceNotificationToUserID => [@{$Self->{InformUserID}}, @{$Self->{InvolvedUserID}}, ],
                  %GetParam,
+                 NoAgentNotify => 0,
              );
              if (!$ArticleID) {
***************
*** 425,430 ****
                  defined($GetParam{"TicketFreeTime".$_."Hour"}) &&
                  defined($GetParam{"TicketFreeTime".$_."Minute"})) {
!                 $Self->{TicketObject}->TicketFreeTimeSet(
                      %GetParam,
                      TicketID => $Self->{TicketID},
                      Counter => $_,
--- 427,436 ----
                  defined($GetParam{"TicketFreeTime".$_."Hour"}) &&
                  defined($GetParam{"TicketFreeTime".$_."Minute"})) {
!                 my %Time = $Self->{LayoutObject}->TransfromDateSelection(
                      %GetParam,
+                     Prefix => "TicketFreeTime".$_,
+                 );
+                 $Self->{TicketObject}->TicketFreeTimeSet(
+                     %Time,
                      TicketID => $Self->{TicketID},
                      Counter => $_,

Index: AgentTicketPhone.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketPhone.pm,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** AgentTicketPhone.pm	11 Jul 2006 14:27:09 -0000	1.19
--- AgentTicketPhone.pm	2 Aug 2006 08:01:06 -0000	1.20
***************
*** 71,75 ****
          AttachmentDelete1 AttachmentDelete2 AttachmentDelete3 AttachmentDelete4
          AttachmentDelete5 AttachmentDelete6 AttachmentDelete7 AttachmentDelete8
!         AttachmentDelete9 AttachmentDelete10 )) {
              $GetParam{$_} = $Self->{ParamObject}->GetParam(Param => $_);
      }
--- 71,76 ----
          AttachmentDelete1 AttachmentDelete2 AttachmentDelete3 AttachmentDelete4
          AttachmentDelete5 AttachmentDelete6 AttachmentDelete7 AttachmentDelete8
!         AttachmentDelete9 AttachmentDelete10 AttachmentDelete11 AttachmentDelete12
!         AttachmentDelete13 AttachmentDelete14 AttachmentDelete15 AttachmentDelete16)) {
              $GetParam{$_} = $Self->{ParamObject}->GetParam(Param => $_);
      }
***************
*** 294,298 ****
          }
          # attachment delete
!         foreach (1..10) {
              if ($GetParam{"AttachmentDelete$_"}) {
                  $Error{AttachmentDelete} = 1;
--- 295,299 ----
          }
          # attachment delete
!         foreach (1..16) {
              if ($GetParam{"AttachmentDelete$_"}) {
                  $Error{AttachmentDelete} = 1;
***************
*** 483,486 ****
--- 484,489 ----
                  Users => $Self->_GetUsers(QueueID => $NewQueueID, AllUsers => $AllUsers),
                  UserSelected => $GetParam{NewUserID},
+                 ResponsibleUsers => $Self->_GetUsers(QueueID => $NewQueueID, AllUsers => $AllUsers),
+                 ResponsibleUserSelected => $GetParam{NewResponsibleID},
                  NextStates => $Self->_GetNextStates(QueueID => $NewQueueID),
                  NextState => $NextState,
***************
*** 623,628 ****
                  defined($GetParam{"TicketFreeTime".$_."Hour"}) &&
                  defined($GetParam{"TicketFreeTime".$_."Minute"})) {
!                 $Self->{TicketObject}->TicketFreeTimeSet(
                      %GetParam,
                      TicketID => $TicketID,
                      Counter => $_,
--- 626,635 ----
                  defined($GetParam{"TicketFreeTime".$_."Hour"}) &&
                  defined($GetParam{"TicketFreeTime".$_."Minute"})) {
!                 my %Time = $Self->{LayoutObject}->TransfromDateSelection(
                      %GetParam,
+                     Prefix => "TicketFreeTime".$_,
+                 );
+                 $Self->{TicketObject}->TicketFreeTimeSet(
+                     %Time,
                      TicketID => $TicketID,
                      Counter => $_,
***************
*** 897,900 ****
--- 904,913 ----
          Name => 'NewUserID',
      );
+     $Param{ResponsibleUsers}->{''} = '-';
+     $Param{'ResponsibleOptionStrg'} = $Self->{LayoutObject}->OptionStrgHashRef(
+         Data => $Param{ResponsibleUsers},
+         SelectedID => $Param{ResponsibleUserSelected},
+         Name => 'NewResponsibleID',
+     );
      # build next states string
      $Param{'NextStatesStrg'} = $Self->{LayoutObject}->OptionStrgHashRef(
***************
*** 996,999 ****
--- 1009,1031 ----
          }
      }
+     # show responsible selection
+     if ($Self->{ConfigObject}->Get('Ticket::Frontend::NewResponsibleSelection')) {
+         $Self->{LayoutObject}->Block(
+             Name => 'ResponsibleSelection',
+             Data => \%Param,
+         );
+         if ($Self->{LayoutObject}->{BrowserJavaScriptSupport}) {
+             $Self->{LayoutObject}->Block(
+                 Name => 'ResponsibleSelectionAllJS',
+                 Data => { },
+             );
+         }
+         else {
+             $Self->{LayoutObject}->Block(
+                 Name => 'ResponsibleSelectionAllSubmit',
+                 Data => { },
+             );
+         }
+     }
      # ticket free text
      my $Count = 0;

Index: AgentTicketPriority.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketPriority.pm,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** AgentTicketPriority.pm	28 Mar 2006 04:54:11 -0000	1.8
--- AgentTicketPriority.pm	2 Aug 2006 08:01:06 -0000	1.9
***************
*** 157,161 ****
          AttachmentDelete1 AttachmentDelete2 AttachmentDelete3 AttachmentDelete4
          AttachmentDelete5 AttachmentDelete6 AttachmentDelete7 AttachmentDelete8
!         AttachmentDelete9 AttachmentDelete10 )) {
              $GetParam{$_} = $Self->{ParamObject}->GetParam(Param => $_);
      }
--- 157,162 ----
          AttachmentDelete1 AttachmentDelete2 AttachmentDelete3 AttachmentDelete4
          AttachmentDelete5 AttachmentDelete6 AttachmentDelete7 AttachmentDelete8
!         AttachmentDelete9 AttachmentDelete10 AttachmentDelete11 AttachmentDelete12
!         AttachmentDelete13 AttachmentDelete14 AttachmentDelete15 AttachmentDelete16)) {
              $GetParam{$_} = $Self->{ParamObject}->GetParam(Param => $_);
      }
***************
*** 218,222 ****
          }
          # attachment delete
!         foreach (1..10) {
              if ($GetParam{"AttachmentDelete$_"}) {
                  $Error{AttachmentDelete} = 1;
--- 219,223 ----
          }
          # attachment delete
!         foreach (1..16) {
              if ($GetParam{"AttachmentDelete$_"}) {
                  $Error{AttachmentDelete} = 1;
***************
*** 367,370 ****
--- 368,372 ----
                  ForceNotificationToUserID => [@{$Self->{InformUserID}}, @{$Self->{InvolvedUserID}}, ],
                  %GetParam,
+                 NoAgentNotify => 0,
              );
              if (!$ArticleID) {
***************
*** 425,430 ****
                  defined($GetParam{"TicketFreeTime".$_."Hour"}) &&
                  defined($GetParam{"TicketFreeTime".$_."Minute"})) {
!                 $Self->{TicketObject}->TicketFreeTimeSet(
                      %GetParam,
                      TicketID => $Self->{TicketID},
                      Counter => $_,
--- 427,436 ----
                  defined($GetParam{"TicketFreeTime".$_."Hour"}) &&
                  defined($GetParam{"TicketFreeTime".$_."Minute"})) {
!                 my %Time = $Self->{LayoutObject}->TransfromDateSelection(
                      %GetParam,
+                     Prefix => "TicketFreeTime".$_,
+                 );
+                 $Self->{TicketObject}->TicketFreeTimeSet(
+                     %Time,
                      TicketID => $Self->{TicketID},
                      Counter => $_,

Index: AgentTicketResponsible.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketResponsible.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** AgentTicketResponsible.pm	28 Mar 2006 04:54:11 -0000	1.5
--- AgentTicketResponsible.pm	2 Aug 2006 08:01:06 -0000	1.6
***************
*** 157,161 ****
          AttachmentDelete1 AttachmentDelete2 AttachmentDelete3 AttachmentDelete4
          AttachmentDelete5 AttachmentDelete6 AttachmentDelete7 AttachmentDelete8
!         AttachmentDelete9 AttachmentDelete10 )) {
              $GetParam{$_} = $Self->{ParamObject}->GetParam(Param => $_);
      }
--- 157,162 ----
          AttachmentDelete1 AttachmentDelete2 AttachmentDelete3 AttachmentDelete4
          AttachmentDelete5 AttachmentDelete6 AttachmentDelete7 AttachmentDelete8
!         AttachmentDelete9 AttachmentDelete10 AttachmentDelete11 AttachmentDelete12
!         AttachmentDelete13 AttachmentDelete14 AttachmentDelete15 AttachmentDelete16)) {
              $GetParam{$_} = $Self->{ParamObject}->GetParam(Param => $_);
      }
***************
*** 218,222 ****
          }
          # attachment delete
!         foreach (1..10) {
              if ($GetParam{"AttachmentDelete$_"}) {
                  $Error{AttachmentDelete} = 1;
--- 219,223 ----
          }
          # attachment delete
!         foreach (1..16) {
              if ($GetParam{"AttachmentDelete$_"}) {
                  $Error{AttachmentDelete} = 1;
***************
*** 367,370 ****
--- 368,372 ----
                  ForceNotificationToUserID => [@{$Self->{InformUserID}}, @{$Self->{InvolvedUserID}}, ],
                  %GetParam,
+                 NoAgentNotify => 0,
              );
              if (!$ArticleID) {
***************
*** 425,430 ****
                  defined($GetParam{"TicketFreeTime".$_."Hour"}) &&
                  defined($GetParam{"TicketFreeTime".$_."Minute"})) {
!                 $Self->{TicketObject}->TicketFreeTimeSet(
                      %GetParam,
                      TicketID => $Self->{TicketID},
                      Counter => $_,
--- 427,436 ----
                  defined($GetParam{"TicketFreeTime".$_."Hour"}) &&
                  defined($GetParam{"TicketFreeTime".$_."Minute"})) {
!                 my %Time = $Self->{LayoutObject}->TransfromDateSelection(
                      %GetParam,
+                     Prefix => "TicketFreeTime".$_,
+                 );
+                 $Self->{TicketObject}->TicketFreeTimeSet(
+                     %Time,
                      TicketID => $Self->{TicketID},
                      Counter => $_,



More information about the cvs-log mailing list