[otrs-cvs] CVS: otrs/Kernel/Modules AgentTicketForward.pm,1.7,1.8

cvs-log at otrs.org cvs-log at otrs.org
Fri Aug 5 13:59:01 CEST 2005


Update of /home/cvs/otrs/Kernel/Modules
In directory osser:/tmp/cvs-serv3207

Modified Files:
	AgentTicketForward.pm 
Log Message:
Added title for layout object if a warning about wron owner is displayed
(Bug #860)
VS: ----------------------------------------------------------------------


Index: AgentTicketForward.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketForward.pm,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** AgentTicketForward.pm	8 Jul 2005 19:17:33 -0000	1.7
--- AgentTicketForward.pm	5 Aug 2005 10:58:59 -0000	1.8
***************
*** 139,142 ****
--- 139,143 ----
          );
          if ($OwnerID != $Self->{UserID}) {
+             $Output = $Self->{LayoutObject}->Header(Title => 'Error');
              $Output .= $Self->{LayoutObject}->Warning(
                  Message => "Sorry, the current owner is $OwnerLogin!",
***************
*** 260,264 ****
      if ($Data{Created}) {
          $Data{Body} = "Date: $Data{Created}\n".$Data{Body};
!     } 
      foreach (qw(Subject ReplyTo Reply-To Cc To From)) {
          if ($Data{$_}) {
--- 261,265 ----
      if ($Data{Created}) {
          $Data{Body} = "Date: $Data{Created}\n".$Data{Body};
!     }
      foreach (qw(Subject ReplyTo Reply-To Cc To From)) {
          if ($Data{$_}) {



More information about the cvs-log mailing list