projects
/
koha_fer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 5995 Follow up: variable scope in koha/sco/sco-main.pl
[koha_fer]
/
opac
/
opac-MARCdetail.pl
diff --git
a/opac/opac-MARCdetail.pl
b/opac/opac-MARCdetail.pl
index
1a9dc34
..
8e492aa
100755
(executable)
--- a/
opac/opac-MARCdetail.pl
+++ b/
opac/opac-MARCdetail.pl
@@
-1,6
+1,7
@@
#!/usr/bin/perl
# Copyright 2000-2002 Katipo Communications
#!/usr/bin/perl
# Copyright 2000-2002 Katipo Communications
+# Parts copyright 2010 BibLibre
#
# This file is part of Koha.
#
#
# This file is part of Koha.
#
@@
-71,7
+72,7
@@
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
template_name => "opac-MARCdetail.tmpl",
query => $query,
type => "opac",
template_name => "opac-MARCdetail.tmpl",
query => $query,
type => "opac",
- authnotrequired =>
1
,
+ authnotrequired =>
( C4::Context->preference("OpacPublic") ? 1 : 0 )
,
debug => 1,
}
);
debug => 1,
}
);
@@
-193,7
+194,7
@@
for ( my $tabloop = 0 ; $tabloop <= 10 ; $tabloop++ ) {
undef @subfields_data;
}
}
undef @subfields_data;
}
}
- $template->param( $tabloop . "XX" => \@loop_data );
+ $template->param(
"tab" .
$tabloop . "XX" => \@loop_data );
}
}