|
|
@ -257,7 +257,7 @@ function fedora_repository_purge_object_form(&$form_state, $pid, $referrer) { |
|
|
|
'#value' => t('Purge'), |
|
|
|
'#value' => t('Purge'), |
|
|
|
'#suffix' => 'Purge this object', |
|
|
|
'#suffix' => 'Purge this object', |
|
|
|
); |
|
|
|
); |
|
|
|
if ($collectionPid == NULL) { |
|
|
|
if (!empty($collectionPid)) { |
|
|
|
$collectionPid = $_SESSION['fedora_collection']; |
|
|
|
$collectionPid = $_SESSION['fedora_collection']; |
|
|
|
} |
|
|
|
} |
|
|
|
//$form['#redirect'] = $referrer; |
|
|
|
//$form['#redirect'] = $referrer; |
|
|
|