diff --git a/fedora_repository.module b/fedora_repository.module index 894e91e3..cc285122 100644 --- a/fedora_repository.module +++ b/fedora_repository.module @@ -914,6 +914,7 @@ function fedora_repository_get_items($pid = NULL, $dsId = NULL, $collection = NU $item = new fedora_item($pid); if (!$item->exists()) { drupal_not_found(); + exit(); } if ($pid & !valid_pid($pid)) {