Browse Source

ISLANDORA-317: fixed by checking the stuff.

pull/16/head
Nigel Banks 13 years ago
parent
commit
33f7e40156
  1. 4
      fedora_repository.module

4
fedora_repository.module

@ -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();

Loading…
Cancel
Save