Browse Source

Merge pull request #358 from adam-vessey/7.x-fix-view-link

Fix the link text... Some tests depend on it.
pull/357/merge
Jordan Dukart 12 years ago
parent
commit
2bdd21d97c
  1. 2
      theme/theme.inc

2
theme/theme.inc

@ -261,7 +261,7 @@ function theme_islandora_datastream_view_link(array $vars) {
$datastream = $vars['datastream'];
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) ?
l($label, islandora_datastream_get_url($datastream, 'view')) :
$label;

Loading…
Cancel
Save