aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-08-16 18:17:31 -0300
committerSilvio <silvio@devlet.com.br>2010-08-16 18:17:31 -0300
commita2b6848d06ac7ea99f72b8d9841ef8b4dc2e2ecb (patch)
tree60eeb2daee338d8b6c53217f587e66b66224c696
parentb8bae56a26b13f1de7438c3a7db6cc079c16f9bb (diff)
downloadcinisis-a2b6848d06ac7ea99f72b8d9841ef8b4dc2e2ecb.tar.gz
cinisis-a2b6848d06ac7ea99f72b8d9841ef8b4dc2e2ecb.tar.bz2
Useting 'field' before setting entry with CinisisDb::main_field_name
-rw-r--r--classes/BiblioIsisDb.php1
-rw-r--r--config/config.yaml2
2 files changed, 2 insertions, 1 deletions
diff --git a/classes/BiblioIsisDb.php b/classes/BiblioIsisDb.php
index 825b80f..9db0145 100644
--- a/classes/BiblioIsisDb.php
+++ b/classes/BiblioIsisDb.php
@@ -343,6 +343,7 @@ class BiblioIsisDb implements IsisDb {
}
if (isset($field)) {
+ unset($data[$entry]['field']);
$data[$entry][CinisisDb::main_field_name($this->format, $key)] = $field;
}
}
diff --git a/config/config.yaml b/config/config.yaml
index a8ab772..0f81b48 100644
--- a/config/config.yaml
+++ b/config/config.yaml
@@ -1,3 +1,3 @@
---
implementation: BiblioIsis
-database: poster
+database: film