diff --git a/CollectionClass.inc b/CollectionClass.inc index 437549c2..d3495621 100644 --- a/CollectionClass.inc +++ b/CollectionClass.inc @@ -412,6 +412,8 @@ class CollectionClass { $results = $this->getRelatedItems($this->pid, NULL); $collection_items = $objectHelper->renderCollection($results, $this->pid, NULL, NULL, $page_number ); + + // 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') && (!empty($_POST['op']) && $_POST['op'] == 'Next'); $add_to_collection = $this->getIngestInterface();