From 5158ce2bb1637c8bb98befef82c9fa6385528f79 Mon Sep 17 00:00:00 2001 From: Jesse Weaver Date: Wed, 2 Oct 2013 14:20:47 -0600 Subject: [PATCH] Bug 10486 - Followup: Minor typo fixes --- installer/data/mysql/updatedatabase.pl | 2 +- opac/opac-external-search.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 0bbeb66..d7d9ea0 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -7182,7 +7182,7 @@ CREATE TABLE `external_target_restrictions` ( KEY `target_id` (`target_id`), CONSTRAINT `external_target_restrictions_ibfk_1` FOREIGN KEY (`branchcode`) REFERENCES `branches` (`branchcode`) ON DELETE CASCADE, CONSTRAINT `external_target_restrictions_ibfk_2` FOREIGN KEY (`target_id`) REFERENCES `external_targets` (`target_id`) ON DELETE CASCADE -) ENGINE=InnoDB DEFAULT CHARSET=utf +) ENGINE=InnoDB DEFAULT CHARSET=utf8 } ); print "Upgrade to $DBversion done (Bug 10486 - Allow external Z39.50 targets to be searched from the OPAC)\n"; SetVersion($DBversion); diff --git a/opac/opac-external-search.pl b/opac/opac-external-search.pl index bbbf2c5..70737e2 100755 --- a/opac/opac-external-search.pl +++ b/opac/opac-external-search.pl @@ -52,7 +52,7 @@ foreach my $syntax ( qw( MARC21 UNIMARC NORMARC ) ) { push @xsltResultStylesheets, { syntax => $syntax, url => $& }; } - if ( XSLTGetFilename( $syntax, 'OPACXSLTDetailDisplay' ) =~ m,/opac-tmpl/.*|^https:?.*, ) { + if ( XSLTGetFilename( $syntax, 'OPACXSLTDetailsDisplay' ) =~ m,/opac-tmpl/.*|^https:?.*, ) { push @xsltDetailStylesheets, { syntax => $syntax, url => $& }; } } -- 1.8.4.rc3