Browse Source

Merge pull request #35 from nigelgbanks/ISLANDORA-355

ISLANDORA-355: Undefined variable error when adding to the pdf collection
pull/36/head
Nigel Banks 13 years ago
parent
commit
29ed3d2835
  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. // 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'); $show_ingest_tab = (!empty($_POST['form_id']) && $_POST['form_id'] == 'fedora_repository_ingest_form');
$add_to_collection = $this->getIngestInterface(); $add_to_collection = $this->getIngestInterface();
if (!$show_ingest_tab) { $view_selected = !$show_ingest_tab;
$view_selected = true;
}
drupal_set_message(); drupal_set_message();

Loading…
Cancel
Save