From d6679cbfb8d34c670bae63dbfada8ff2d3b1afaa Mon Sep 17 00:00:00 2001 From: Jordan Dukart Date: Mon, 17 Dec 2018 15:33:13 -0400 Subject: [PATCH] Form_load_include the file. --- includes/datastream.version.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/datastream.version.inc b/includes/datastream.version.inc index ea27cc65..57ccfa40 100644 --- a/includes/datastream.version.inc +++ b/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;