[Koha-patches] [PATCH] Bug 9727: Fix typo in variable name
Colin Campbell
colin.campbell at ptfs-europe.com
Thu Feb 28 11:05:59 CET 2013
Variable is passed as recordtype not record_type
correct name
---
Koha/SearchEngine/Solr/Index.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Koha/SearchEngine/Solr/Index.pm b/Koha/SearchEngine/Solr/Index.pm
index 6fa3242..e526f1e 100644
--- a/Koha/SearchEngine/Solr/Index.pm
+++ b/Koha/SearchEngine/Solr/Index.pm
@@ -40,7 +40,7 @@ sub index_record {
$record = GetAuthority( $id ) if $recordtype eq "authority";
$record = GetMarcBiblio( $id ) if $recordtype eq "biblio";
- if ($record_type eq 'biblio' && C4::Context->preference('IncludeSeeFromInSearches')) {
+ if ($recordtype eq 'biblio' && C4::Context->preference('IncludeSeeFromInSearches')) {
my $normalizer = Koha::RecordProcessor->new( { filters => 'EmbedSeeFromHeadings' } );
$record = $normalizer->process($record);
}
--
1.8.2.rc0.22.gb3600c3
More information about the Koha-patches
mailing list