Browse Source

Merge pull request #713 from jordandukart/7.x-ISLANDORA-2359

Form_load_include the file.
pull/716/head
Diego Pino Navarro 6 years ago committed by GitHub
parent
commit
86a6d0a69f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      includes/datastream.version.inc

1
includes/datastream.version.inc

@ -276,6 +276,7 @@ function islandora_datastream_version_replace_form($form, &$form_state, Abstract
module_load_include('inc', 'islandora', 'includes/content_model');
module_load_include('inc', 'islandora', 'includes/utilities');
module_load_include('inc', 'islandora', 'includes/mimetype.utils');
form_load_include($form_state, 'inc', 'islandora', 'includes/datastream.version');
$object = islandora_object_load($datastream->parent->id);
$form_state['object_id'] = $object->id;

Loading…
Cancel
Save