[Koha-patches] [PATCH] [followup](bug #3370) export function and fix return

Nahuel ANGELINETTI nahuel.angelinetti at biblibre.com
Tue Aug 25 16:08:31 CEST 2009


this add GetRecordValue in exported functions, and made it to return a ref.
---
 C4/Biblio.pm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/C4/Biblio.pm b/C4/Biblio.pm
index c643e5b..71f8676 100755
--- a/C4/Biblio.pm
+++ b/C4/Biblio.pm
@@ -63,6 +63,7 @@ BEGIN {
 		&GetBiblioItemByBiblioNumber
 		&GetBiblioFromItemNumber
 		
+		&GetRecordValue
 		&GetFieldMapping
 		&SetFieldMapping
 		&DeleteFieldMapping
@@ -507,7 +508,7 @@ sub GetRecordValue {
         }
     }
     
-    return @result;
+    return \@result;
 }
 
 =head2 SetFieldMapping
-- 
1.6.0.4




More information about the Koha-patches mailing list