[otrs-cvs] CVS: otrs/Kernel/Modules AgentTicketQueue.pm,1.25,1.26

cvs-log at otrs.org cvs-log at otrs.org
Thu Jan 4 14:29:43 CET 2007


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

Modified Files:
	AgentTicketQueue.pm 
Log Message:
fixed/added missing main object for article view modules

Index: AgentTicketQueue.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketQueue.pm,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** AgentTicketQueue.pm	20 Dec 2006 11:55:56 -0000	1.25
--- AgentTicketQueue.pm	4 Jan 2007 13:29:41 -0000	1.26
***************
*** 1,5 ****
  # --
  # Kernel/Modules/AgentTicketQueue.pm - the queue view of all tickets
! # Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
  # --
  # $Id$
--- 1,5 ----
  # --
  # Kernel/Modules/AgentTicketQueue.pm - the queue view of all tickets
! # Copyright (C) 2001-2007 OTRS GmbH, http://otrs.org/
  # --
  # $Id$
***************
*** 300,308 ****
              if ($Self->{MainObject}->Require($Jobs{$Job}->{Module})) {
                  my $Object = $Jobs{$Job}->{Module}->new(
!                     ConfigObject => $Self->{ConfigObject},
!                     LogObject => $Self->{LogObject},
!                     DBObject => $Self->{DBObject},
!                     LayoutObject => $Self->{LayoutObject},
!                     TicketObject => $Self->{TicketObject},
                      ArticleID => $Article{ArticleID},
                      UserID => $Self->{UserID},
--- 300,304 ----
              if ($Self->{MainObject}->Require($Jobs{$Job}->{Module})) {
                  my $Object = $Jobs{$Job}->{Module}->new(
!                     %{$Self},
                      ArticleID => $Article{ArticleID},
                      UserID => $Self->{UserID},
***************
*** 355,364 ****
      }
      foreach (1..3) {
!         if ($Article{"FreeText$_"}) {
              $Self->{LayoutObject}->Block(
                  Name => 'ArticleFreeText',
                  Data => {
!                     Key => $Article{"FreeKey$_"},
!                     Value => $Article{"FreeText$_"},
                  },
              );
--- 351,360 ----
      }
      foreach (1..3) {
!         if ($Article{"ArticleFreeText$_"}) {
              $Self->{LayoutObject}->Block(
                  Name => 'ArticleFreeText',
                  Data => {
!                     Key => $Article{"ArticleFreeKey$_"},
!                     Value => $Article{"ArticleFreeText$_"},
                  },
              );



More information about the cvs-log mailing list