projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 8945: Update help files for 3.10
[koha.git]
/
catalogue
/
detail.pl
diff --git
a/catalogue/detail.pl
b/catalogue/detail.pl
index
c3a29b3
..
67e9c99
100755
(executable)
--- a/
catalogue/detail.pl
+++ b/
catalogue/detail.pl
@@
-263,7
+263,7
@@
foreach my $item (@items) {
$analytics_flag=1;
$item->{countanalytics} = $countanalytics;
}
- if (
$item->{'materials'} ne ''
){
+ if (
defined($item->{'materials'}) && $item->{'materials'} =~ /\S/
){
$materials_flag = 1;
}
push @itemloop, $item;