Browse Source

Merge pull request #517 from adam-vessey/7.x-UC-15

Fix error due to incorrect include.
pull/519/head
William Panting 11 years ago
parent
commit
7123fbdf88
  1. 2
      theme/theme.inc

2
theme/theme.inc

@ -276,7 +276,7 @@ function islandora_preprocess_islandora_objects(array &$variables) {
*/
function theme_islandora_datastream_download_link(array $vars) {
$datastream = $vars['datastream'];
module_load_include('inc', 'islandora', 'includes/utilities');
module_load_include('inc', 'islandora', 'includes/datastream');
$label = t('download');
return islandora_datastream_access(ISLANDORA_VIEW_OBJECTS, $datastream) ?

Loading…
Cancel
Save