Browse Source

Fix the link text... Some tests depend on it.

pull/358/head
Adam Vessey 11 years ago
parent
commit
08162d0ad5
  1. 2
      theme/theme.inc

2
theme/theme.inc

@ -261,7 +261,7 @@ 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/utilities');
$label = check_plain($datastream->label); $label = check_plain($datastream->id);
return islandora_datastream_access(FEDORA_VIEW_OBJECTS, $datastream) ? return islandora_datastream_access(FEDORA_VIEW_OBJECTS, $datastream) ?
l($label, islandora_datastream_get_url($datastream, 'view')) : l($label, islandora_datastream_get_url($datastream, 'view')) :
$label; $label;

Loading…
Cancel
Save