[otrs-cvs] GeneralCatalog/Kernel/System GeneralCatalog.pm, 1.10, 1.11

cvs-log at otrs.org cvs-log at otrs.org
Mon Jul 2 13:16:26 GMT 2007


Comments:
Update of /home/cvs/GeneralCatalog/Kernel/System
In directory lancelot:/tmp/cvs-serv2488/Kernel/System

Modified Files:
	GeneralCatalog.pm 
Log Message:
Fixed uninitialized bug in FunctionalityList() function.

Author: mh

Index: GeneralCatalog.pm
===================================================================
RCS file: /home/cvs/GeneralCatalog/Kernel/System/GeneralCatalog.pm,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** GeneralCatalog.pm	2 Jul 2007 12:08:21 -0000	1.10
--- GeneralCatalog.pm	2 Jul 2007 13:16:21 -0000	1.11
***************
*** 181,187 ****
      );
      while (my @Row = $Self->{DBObject}->FetchrowArray()) {
!         $FunctionalityList{$Row[0]} = $Row[0];
      }
-     delete($FunctionalityList{''});
  
      return \%FunctionalityList;
--- 181,188 ----
      );
      while (my @Row = $Self->{DBObject}->FetchrowArray()) {
!         if ($Row[0]) {
!             $FunctionalityList{$Row[0]} = $Row[0];
!         }
      }
  
      return \%FunctionalityList;


More information about the cvs-log mailing list