diff --git a/CollectionClass.inc b/CollectionClass.inc index e6d2fbf2..7013e77d 100644 --- a/CollectionClass.inc +++ b/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();