From 08162d0ad520844639ac953f5d7de84560950fca Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Thu, 20 Jun 2013 13:52:53 -0300 Subject: [PATCH] Fix the link text... Some tests depend on it. --- theme/theme.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/theme.inc b/theme/theme.inc index cf048745..f07f95d4 100644 --- a/theme/theme.inc +++ b/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;