diff --git a/fedora_repository.module b/fedora_repository.module index 83247bc2..41632fb1 100644 --- a/fedora_repository.module +++ b/fedora_repository.module @@ -757,7 +757,7 @@ function fedora_repository_get_items($pid = NULL, $dsId = NULL, $collection = NU drupal_not_found(); } - if ($pid & !validPid($pid)) { + if ($pid & !valid_pid($pid)) { drupal_set_message(t("Invalid PID!"), 'error'); return ' '; }