projects
/
koha_ffzg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c62e76b
)
minor improvement
author
tipaul
<tipaul>
Thu, 6 May 2004 14:54:44 +0000
(14:54 +0000)
committer
tipaul
<tipaul>
Thu, 6 May 2004 14:54:44 +0000
(14:54 +0000)
reports/issues_by_borrower_category.plugin
patch
|
blob
|
history
diff --git
a/reports/issues_by_borrower_category.plugin
b/reports/issues_by_borrower_category.plugin
index
608ae22
..
868fcbc
100644
(file)
--- a/
reports/issues_by_borrower_category.plugin
+++ b/
reports/issues_by_borrower_category.plugin
@@
-143,7
+143,11
@@
sub calculate {
}
my %line;
$line{loopitemtype} = \@loopitemtype;
- $line{itemtype} = $itemtypes{$itemtype}->{description};
+ 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};
$hilighted = -$hilighted;