Adding a little fake subroutine that a few scripts in the opac depend on, can be...
authorrangi <rangi>
Sat, 1 Apr 2006 21:22:05 +0000 (21:22 +0000)
committerrangi <rangi>
Sat, 1 Apr 2006 21:22:05 +0000 (21:22 +0000)
C4/Biblio.pm

index cda2fd1..81986a0 100644 (file)
@@ -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
 #