Browse Source

Merge pull request #29 from nigelgbanks/ISLANDORA-348

ISLANDORA-348: Undefined variable Error generated during bulk ingest
pull/31/merge
Nigel Banks 13 years ago
parent
commit
8b148175a0
  1. 2
      fedora_repository.module

2
fedora_repository.module

@ -2145,7 +2145,7 @@ function fedora_repository_batch_reingest_object($object, &$context) {
if (!empty($datastreams) && is_array($datastreams)) {
$label = !empty($object['label']) ? $object['label'] : '';
if (empty($object['foxml_file']) && !defined($new_item)) {
if (empty($object['foxml_file']) && !isset($new_item)) {
$new_item = Fedora_Item::ingest_new_item($object['pid'], 'A', $label);
}
if (!empty($object['cmodel'])) {

Loading…
Cancel
Save