projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'bug_9141' into 3.12-master
[koha.git]
/
catalogue
/
MARCdetail.pl
diff --git
a/catalogue/MARCdetail.pl
b/catalogue/MARCdetail.pl
index
0490076
..
2b967df
100755
(executable)
--- a/
catalogue/MARCdetail.pl
+++ b/
catalogue/MARCdetail.pl
@@
-82,7
+82,7
@@
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
}
);
}
);
-my $record = GetMarcBiblio($biblionumber);
+my $record = GetMarcBiblio($biblionumber
, 1
);
$template->param( ocoins => GetCOinSBiblio($record) );
if ( not defined $record ) {
$template->param( ocoins => GetCOinSBiblio($record) );
if ( not defined $record ) {
@@
-177,7
+177,7
@@
for ( my $tabloop = 0 ; $tabloop <= 10 ; $tabloop++ ) {
# loop through each subfield
for my $i ( 0 .. $#subf ) {
# loop through each subfield
for my $i ( 0 .. $#subf ) {
- $subf[$i][0] = "@" unless $subf[$i][0];
+ $subf[$i][0] = "@" unless
defined
$subf[$i][0];
next
if (
$tagslib->{ $fields[$x_i]->tag() }->{ $subf[$i][0] }->{tab}
next
if (
$tagslib->{ $fields[$x_i]->tag() }->{ $subf[$i][0] }->{tab}