From 18fc1f23a8cf9cd0dae8260e872f0f09772c6a02 Mon Sep 17 00:00:00 2001 From: willtp87 Date: Wed, 7 Oct 2015 10:53:28 -0300 Subject: [PATCH] Adding missing include. --- includes/metadata.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/metadata.inc b/includes/metadata.inc index 9a75cd05..90c30f9c 100644 --- a/includes/metadata.inc +++ b/includes/metadata.inc @@ -20,6 +20,7 @@ function islandora_retrieve_metadata_markup(AbstractObject $object, $print = FAL $viewer = variable_get('islandora_metadata_display', 'dublin_core'); $markup = ''; if (isset($viewers[$viewer]['metadata callback'])) { + module_load_include('inc', 'islandora', 'includes/utilities'); $hooks = islandora_build_hook_list(ISLANDORA_METADATA_OBJECT_ALTER, $object->models); drupal_alter($hooks, $object); $markup = call_user_func($viewers[$viewer]['metadata callback'], $object, $print);