my $ean = GetNormalizedEAN($record,$marcflavour);
my $oclc = GetNormalizedOCLCNumber($record,$marcflavour);
my $isbn = GetNormalizedISBN(undef,$record,$marcflavour);
-my $content_identifier_exists = 1 if ($isbn or $ean or $oclc or $upc);
+my $content_identifier_exists;
+if ( $isbn or $ean or $oclc or $upc ) {
+ $content_identifier_exists = 1;
+}
$template->param(
normalized_upc => $upc,
normalized_ean => $ean,
my $libravatar_enabled = 0;
eval 'use Libravatar::URL';
-if (!$@ and C4::Context->preference('ShowReviewer')) {
+if (!$@ and C4::Context->preference('ShowReviewer') and C4::Context->preference('ShowReviewerPhoto')) {
$libravatar_enabled = 1;
}
C4::Context->preference('LibraryThingForLibrariesTabbedView') );
}
+# Novelist Select
+if( C4::Context->preference('NovelistSelectEnabled') )
+{
+$template->param(NovelistSelectProfile => C4::Context->preference('NovelistSelectProfile') );
+$template->param(NovelistSelectPassword => C4::Context->preference('NovelistSelectPassword') );
+$template->param(NovelistSelectView => C4::Context->preference('NovelistSelectView') );
+}
+
# Babelthèque
if ( C4::Context->preference("Babeltheque") ) {