Browse Source

Minor warning from purgeObject form.

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

2
fedora_repository.module

@ -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;

Loading…
Cancel
Save