Browse Source

ISLANDORA-355: Undefined variable error when adding to the pdf collection

pull/35/head
Nigel Banks 13 years ago
parent
commit
35aa418c02
  1. 4
      CollectionClass.inc

4
CollectionClass.inc

@ -514,9 +514,7 @@ class CollectionClass {
// Check the form post to see if we are in the middle of an ingest operation.
$show_ingest_tab = (!empty($_POST['form_id']) && $_POST['form_id'] == 'fedora_repository_ingest_form');
$add_to_collection = $this->getIngestInterface();
if (!$show_ingest_tab) {
$view_selected = true;
}
$view_selected = !$show_ingest_tab;
drupal_set_message();

Loading…
Cancel
Save