|
|
|
@ -752,6 +752,10 @@ function fedora_repository_get_items($pid = NULL, $dsId = NULL, $collection = NU |
|
|
|
return ''; |
|
|
|
return ''; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($pid == NULL) { |
|
|
|
|
|
|
|
$pid = variable_get('fedora_repository_pid', 'islandora:top'); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$item = new fedora_item($pid); |
|
|
|
$item = new fedora_item($pid); |
|
|
|
if (!$item->exists()) { |
|
|
|
if (!$item->exists()) { |
|
|
|
drupal_not_found(); |
|
|
|
drupal_not_found(); |
|
|
|
|