Browse Source

Updated index key

pull/656/head
MorganDawe 9 years ago
parent
commit
d36496d1f2
  1. 2
      includes/ingest.form.inc

2
includes/ingest.form.inc

@ -500,7 +500,7 @@ function islandora_ingest_form_add_step_context(array &$form, array $form_state)
$policy = new CollectionPolicy($form_state['islandora']['shared_storage']['collection']['COLLECTION_POLICY']->content); $policy = new CollectionPolicy($form_state['islandora']['shared_storage']['collection']['COLLECTION_POLICY']->content);
$policy_content_models = $policy->getContentModels(); $policy_content_models = $policy->getContentModels();
$label = isset($policy_content_models[$value]) ? $policy_content_models[$value]['name'] : $fedora_cmodel->label; $label = isset($policy_content_models[$value]) ? $policy_content_models[$value]['name'] : $fedora_cmodel->label;
$form["context_info_$key"] = array( $form["ci_$key"] = array(
'#markup' => "<h3>$label</h3></br>", '#markup' => "<h3>$label</h3></br>",
'#weight' => -1000, '#weight' => -1000,
); );

Loading…
Cancel
Save