Browse Source

Fix theme_islandora_datastream_view_link() (#726)

8.x0
Drew Heles 5 years ago committed by Jared Whiklo
parent
commit
5e88176861
  1. 2
      theme/theme.inc

2
theme/theme.inc

@ -439,7 +439,7 @@ function theme_islandora_datastream_download_link(array $vars) {
*/ */
function theme_islandora_datastream_view_link(array $vars) { function theme_islandora_datastream_view_link(array $vars) {
$datastream = $vars['datastream']; $datastream = $vars['datastream'];
module_load_include('inc', 'islandora', 'includes/utilities'); module_load_include('inc', 'islandora', 'includes/datastream');
if ($vars['label'] === NULL) { if ($vars['label'] === NULL) {
$label = check_plain($datastream->id); $label = check_plain($datastream->id);

Loading…
Cancel
Save