From 8498bc6c29eab8dc9b0aa679fa1101f31ca0c7c7 Mon Sep 17 00:00:00 2001 From: Silvio Date: Fri, 11 Jun 2010 11:06:58 -0300 Subject: Using 'fetch' as default backend retrieval method on BiblioIsis --- classes/BiblioIsisDb.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/BiblioIsisDb.php b/classes/BiblioIsisDb.php index 0e3d9bd..8285978 100644 --- a/classes/BiblioIsisDb.php +++ b/classes/BiblioIsisDb.php @@ -102,7 +102,7 @@ class BiblioIsisDb implements IsisDb { * * @see IsisDb::read() */ - public function read($id, $method = 'to_hash') { + public function read($id, $method = 'fetch') { // Database query. $results = $this->backend($method, $id); @@ -169,7 +169,7 @@ class BiblioIsisDb implements IsisDb { * @return * Tagged database result. */ - function tag($results, $method = 'to_hash') { + function tag($results, $method = 'fetch') { foreach ($results as $key => $value) { // Key '000' used to hold MFN. if ($key != '000') { -- cgit v1.2.3