Browse Source

Merge branch '7.x' of https://github.com/Islandora/islandora into 7.x-add-xss

pull/420/head
yqjiang 11 years ago
parent
commit
358cb8997a
  1. 3
      includes/ingest.form.inc

3
includes/ingest.form.inc

@ -767,6 +767,9 @@ function islandora_ingest_form_submit(array $form, array &$form_state) {
try {
islandora_add_object($object);
$form_state['redirect'] = "islandora/object/{$object->id}";
drupal_set_message(
t('"@label" (ID: @pid) has been ingested.', array('@label' => $object->label, '@pid' => $object->id)),
'status');
}
catch (Exception $e) {
// If post hooks throws it may already exist at this point but may be

Loading…
Cancel
Save