Browse Source

Merge pull request #625 from willtp87/7.x-1.6-ISLANDORA-1469

Adding missing include.
pull/629/head
Nick Ruest 9 years ago
parent
commit
1371ead269
  1. 1
      includes/metadata.inc

1
includes/metadata.inc

@ -20,6 +20,7 @@ function islandora_retrieve_metadata_markup(AbstractObject $object, $print = FAL
$viewer = variable_get('islandora_metadata_display', 'dublin_core'); $viewer = variable_get('islandora_metadata_display', 'dublin_core');
$markup = ''; $markup = '';
if (isset($viewers[$viewer]['metadata callback'])) { if (isset($viewers[$viewer]['metadata callback'])) {
module_load_include('inc', 'islandora', 'includes/utilities');
$hooks = islandora_build_hook_list(ISLANDORA_METADATA_OBJECT_ALTER, $object->models); $hooks = islandora_build_hook_list(ISLANDORA_METADATA_OBJECT_ALTER, $object->models);
drupal_alter($hooks, $object); drupal_alter($hooks, $object);
$markup = call_user_func($viewers[$viewer]['metadata callback'], $object, $print); $markup = call_user_func($viewers[$viewer]['metadata callback'], $object, $print);

Loading…
Cancel
Save