X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=opac%2Fopac-readingrecord.pl;h=00c7c436d8361f40bb9ed40561cffa59de942828;hb=4ea26c0a697fcd8e4f88feb9a4f43a8b02c06650;hp=c01409a70034d8b96e3f9e14be2d54b81f8d84dc;hpb=fabac13052d93465f8d348493930de4daedc708b;p=srvgit diff --git a/opac/opac-readingrecord.pl b/opac/opac-readingrecord.pl index c01409a700..00c7c436d8 100755 --- a/opac/opac-readingrecord.pl +++ b/opac/opac-readingrecord.pl @@ -98,8 +98,7 @@ foreach my $issue ( @{$issues} ) { my $marc_rec = MARC::Record::new_from_xml( $marcxml, 'utf8', C4::Context->preference('marcflavour') ); - $issue->{subtitle} = - GetRecordValue( 'subtitle', $marc_rec, $issue->{frameworkcode} ); + $issue->{subtitle} = GetRecordValue( 'subtitle', $marc_rec ); $issue->{normalized_upc} = GetNormalizedUPC( $marc_rec, C4::Context->preference('marcflavour') ); } # My Summary HTML