X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=C4%2FRecord.pm;h=9d72d5acfae15f312a0877c3c8af1690052775dd;hb=6bad4db6a76d719ad6ac7fec2d4c7ec87ec8aa95;hp=7277f2c2b2e9889f49d1571371cae019755f0a14;hpb=481eb9b284a55906367888045e092edc1f062a96;p=koha.git diff --git a/C4/Record.pm b/C4/Record.pm index 7277f2c2b2..9d72d5acfa 100644 --- a/C4/Record.pm +++ b/C4/Record.pm @@ -310,9 +310,9 @@ sub _transformWithStylesheet { my $xslt = XML::LibXSLT->new(); my $source = $parser->parse_string($xmlrecord); my $style_doc = $parser->parse_file($xslfile); - my $stylesheet = $xslt->parse_stylesheet($style_doc); - my $results = $stylesheet->transform($source); - my $newxmlrecord = $stylesheet->output_string($results); + my $style_sheet = $xslt->parse_stylesheet($style_doc); + my $results = $style_sheet->transform($source); + my $newxmlrecord = $style_sheet->output_string($results); return ($newxmlrecord); }