Permalink
Browse files

Merge pull request #35 from nigelgbanks/ISLANDORA-355

ISLANDORA-355: Undefined variable error when adding to the pdf collection
  • Loading branch information...
2 parents 641f137 + 35aa418 commit 29ed3d2835d4675b87c98061cb0d56feaa40d327 @nigelgbanks nigelgbanks committed Sep 20, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 CollectionClass.inc
View
@@ -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();

0 comments on commit 29ed3d2

Please sign in to comment.