Browse Source

ISLANDORA-350: When viewing non-existing objects the Drupal not found page renders along with a failed attempt at rendering the missing object.

pull/32/head
Nigel Banks 13 years ago
parent
commit
54140f84ff
  1. 1
      fedora_repository.module

1
fedora_repository.module

@ -914,6 +914,7 @@ function fedora_repository_get_items($pid = NULL, $dsId = NULL, $collection = NU
$item = new fedora_item($pid); $item = new fedora_item($pid);
if (!$item->exists()) { if (!$item->exists()) {
drupal_not_found(); drupal_not_found();
exit();
} }
if ($pid & !valid_pid($pid)) { if ($pid & !valid_pid($pid)) {

Loading…
Cancel
Save