[Koha-cvs] CVS: koha/reports issues_by_borrower_category.plugin,1.1,1.2

Paul POULAIN tipaul at users.sourceforge.net
Thu May 6 16:54:46 CEST 2004


Update of /cvsroot/koha/koha/reports
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12291/reports

Modified Files:
	issues_by_borrower_category.plugin 
Log Message:
minor improvement

Index: issues_by_borrower_category.plugin
===================================================================
RCS file: /cvsroot/koha/koha/reports/issues_by_borrower_category.plugin,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** issues_by_borrower_category.plugin	30 Mar 2004 16:09:04 -0000	1.1
--- issues_by_borrower_category.plugin	6 May 2004 14:54:44 -0000	1.2
***************
*** 144,148 ****
  		my %line;
  		$line{loopitemtype} = \@loopitemtype;
! 		$line{itemtype} = $itemtypes{$itemtype}->{description};
  		$line{hilighted} = 1 if $hilighted eq 1;
  		$line{totalitemtype} = $itemtypes{$itemtype}->{total};
--- 144,152 ----
  		my %line;
  		$line{loopitemtype} = \@loopitemtype;
! 		if ($itemtypes{$itemtype}->{description}) {
! 			$line{itemtype} = $itemtypes{$itemtype}->{description};
! 		} else {
! 			$line{itemtype} = "$itemtype (no entry in itemtype table)";
! 		}
  		$line{hilighted} = 1 if $hilighted eq 1;
  		$line{totalitemtype} = $itemtypes{$itemtype}->{total};





More information about the Koha-cvs mailing list