[otrs-cvs] FAQ/Kernel/System/LinkObject FAQ.pm,1.3,1.4

cvs-log at otrs.org cvs-log at otrs.org
Sun Mar 2 23:00:49 GMT 2008


Comments:
Update of /home/cvs/FAQ/Kernel/System/LinkObject
In directory lancelot:/tmp/cvs-serv13462/Kernel/System/LinkObject

Modified Files:
	FAQ.pm 
Log Message:
Added also title to shown linked objects.

Author: martin

Index: FAQ.pm
===================================================================
RCS file: /home/cvs/FAQ/Kernel/System/LinkObject/FAQ.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** FAQ.pm	13 Dec 2006 12:45:54 -0000	1.3
--- FAQ.pm	2 Mar 2008 23:00:44 -0000	1.4
***************
*** 1,5 ****
  # --
  # Kernel/System/LinkObject/FAQ.pm - to link faq objects
! # Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
  # --
  # $Id$
--- 1,5 ----
  # --
  # Kernel/System/LinkObject/FAQ.pm - to link faq objects
! # Copyright (C) 2001-2008 OTRS AG, http://otrs.org/
  # --
  # $Id$
***************
*** 7,11 ****
  # This software comes with ABSOLUTELY NO WARRANTY. For details, see
  # the enclosed file COPYING for license information (GPL). If you
! # did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
  # --
  
--- 7,11 ----
  # This software comes with ABSOLUTELY NO WARRANTY. For details, see
  # the enclosed file COPYING for license information (GPL). If you
! # did not receive this file, see http://www.gnu.org/licenses/gpl-2.0.txt.
  # --
  
***************
*** 33,37 ****
      foreach (qw(ID)) {
          if (!$Param{$_}) {
!              $Self->{LogObject}->Log(Priority => 'error', Message => "Need $_!");
              return;
          }
--- 33,37 ----
      foreach (qw(ID)) {
          if (!$Param{$_}) {
!             $Self->{LogObject}->Log(Priority => 'error', Message => "Need $_!");
              return;
          }
***************
*** 43,46 ****
--- 43,47 ----
          Text => 'F:'.$Article{Number},
          Number => $Article{Number},
+         Title  => $Article{Title},
          ID => $Param{ID},
          Object => 'FAQ',
***************
*** 82,89 ****
      foreach (@Result) {
          my %Article = $Self->{FAQObject}->FAQGet(FAQID => $_);
!         push (@ResultWithData, {
!             %Article,
!             ID => $Article{ItemID},
!           },
          );
      }
--- 83,91 ----
      foreach (@Result) {
          my %Article = $Self->{FAQObject}->FAQGet(FAQID => $_);
!         push (@ResultWithData,
!             {
!                 %Article,
!                 ID => $Article{ItemID},
!             },
          );
      }


More information about the cvs-log mailing list