Browse Source

partial fix for ISLANDORA-403

pull/57/head
ppound 13 years ago
parent
commit
d7de3a51bf
  1. 2
      CollectionClass.inc

2
CollectionClass.inc

@ -519,7 +519,9 @@ class CollectionClass {
$show_batch_tab = TRUE;
$policy = CollectionPolicy::loadFromCollection($this->pid, TRUE);
if(!empty($policy)){
$content_models = $policy->getContentModels();
}
if (count($content_models) == 1 && $content_models[0]->pid == "islandora:collectionCModel") {
$show_batch_tab = FALSE;
}

Loading…
Cancel
Save