|
|
|
@ -757,6 +757,10 @@ function fedora_repository_get_items($pid = NULL, $dsId = NULL, $collection = NU
|
|
|
|
|
module_load_include('inc', 'fedora_repository', 'api/fedora_utils'); |
|
|
|
|
global $user; |
|
|
|
|
|
|
|
|
|
if (!fedora_available()) { |
|
|
|
|
return t('The Fedora repository server is currently unavailable. Please contact the site administrator.'); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ($pid &!validPid($pid)) { |
|
|
|
|
drupal_set_message(t("Invalid PID!"), 'error'); |
|
|
|
|
return ' '; |
|
|
|
|