From c450bfcdf56b2c7c71e21ba671f1cced78cf7a1a Mon Sep 17 00:00:00 2001 From: rangi Date: Sat, 1 Apr 2006 21:22:05 +0000 Subject: [PATCH] Adding a little fake subroutine that a few scripts in the opac depend on, can be removed once the opac scripts are rewritten --- C4/Biblio.pm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index cda2fd1341..81986a03d4 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -68,6 +68,7 @@ $VERSION = do { my @v = '$Revision$' =~ /\d+/g; &MARCkoha2marcBiblio &MARCmarc2koha &MARCkoha2marcItem &MARChtml2marc &MARChtml2xml &MARCgetbiblio &MARCgetitem + MARCfind_MARCbibid_from_oldbiblionumber &XMLgetbiblio &FindDuplicate @@ -311,6 +312,15 @@ returns a hash with all values for all fields and subfields for a given MARC fra =cut + +# old subroutine to provide backwards compatibility. +# opac-detail breaks without this. Can be removed once opac-detail is fixed +sub MARCfind_MARCbibid_from_oldbiblionumber { + my ($biblionumber)=@_; + return ($biblionumber); + +} + sub MARCgettagslib { my ( $dbh, $forlibrarian, $frameworkcode ) = @_; $frameworkcode = "" unless $frameworkcode; @@ -3004,6 +3014,9 @@ Paul POULAIN paul.poulain@free.fr # $Id$ # $Log$ +# Revision 1.165 2006/04/01 21:22:05 rangi +# Adding a little fake subroutine that a few scripts in the opac depend on, can be removed once the opac scripts are rewritten +# # Revision 1.164 2006/03/29 01:56:25 rangi # Delete isnt working using the extended services method # -- 2.39.5