This fix the problem with the Get function in C4::Biblio, the new name is GetRecordValue and located in export_ok.
require C4::Heading;
require C4::Serials;
-use vars qw($VERSION @ISA @EXPORT);
+use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
BEGIN {
$VERSION = 1.00;
# to add biblios
# EXPORTED FUNCTIONS.
+ push @EXPORT_OK, qw(
+ &GetRecordValue
+ );
+
push @EXPORT, qw(
&AddBiblio
);
# to get something
push @EXPORT, qw(
- &Get
&GetBiblio
&GetBiblioData
&GetBiblioItemData
&GetBiblioItemByBiblioNumber
&GetBiblioFromItemNumber
- GetFieldMapping
- SetFieldMapping
- DeleteFieldMapping
+ &GetFieldMapping
+ &SetFieldMapping
+ &DeleteFieldMapping
&GetISBDView
return $num_headings_changed;
}
-=head2 Get
+=head2 GetRecordValue
=over 4
-my $values = Get($field, $record, $frameworkcode);
+my $values = GetRecordValue($field, $record, $frameworkcode);
=back
=cut
-sub Get {
+sub GetRecordValue {
my ($field, $record, $frameworkcode) = @_;
my $dbh = C4::Context->dbh;