From 83f35f6c90fd016638ba55c5190c141ca4296b38 Mon Sep 17 00:00:00 2001 From: kados Date: Wed, 24 May 2006 23:30:43 +0000 Subject: [PATCH] fixing some misspellings, reformatting a bit, etc. --- C4/Record.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/C4/Record.pm b/C4/Record.pm index 804e79f7e5..709d8e0dee 100644 --- a/C4/Record.pm +++ b/C4/Record.pm @@ -58,11 +58,11 @@ New in Koha 3.x. This module handles all record-related management functions. my $marcxml = marc2marcxml($marc,$encoding,$flavour); -returns an XML scalar variable +returns a MARCXML scalar variable C<$marc> a MARC::Record object or binary MARC record -C<$encoding> UTF-8 or MARC-8 [UTF-8} +C<$encoding> UTF-8 or MARC-8 [UTF-8] C<$flavour> MARC21 or UNIMARC @@ -96,7 +96,7 @@ sub marcxml2marc { unless($encoding) {$encoding = "UTF-8"}; unless($flavour) {$flavour = C4::Context->preference("TemplateEncoding")}; #FIXME: add error handling - my $marc = $marcxml->new_from_xml($record,$encoding,$flavour); + my $marc = $marcxml->new_from_xml($marcxml,$encoding,$flavour); return $marc; } @@ -319,7 +319,8 @@ __END__ Joshua Ferraro -=cut =head MODIFICATIONS + # $Id$ + =cut -- 2.39.5