Browse Source

Minor fix for delete redirect.

pull/105/head
Alexander O'Neill 14 years ago
parent
commit
14a988cb47
  1. 2
      fedora_repository.module

2
fedora_repository.module

@ -430,7 +430,7 @@ function fedora_repository_purge_object_form_submit($form, &$form_state) {
} }
return; return;
} }
if (empty($collectionPid)) { if (empty($collectionPid) && $_SESSION['fedora_collection'] != $pid) {
$collectionPid = $_SESSION['fedora_collection']; $collectionPid = $_SESSION['fedora_collection'];
} }
if (!empty($form_state['values']['referrer'])) { if (!empty($form_state['values']['referrer'])) {

Loading…
Cancel
Save