diff --git a/theme/theme.inc b/theme/theme.inc index 81c4a33f..a3569c35 100644 --- a/theme/theme.inc +++ b/theme/theme.inc @@ -64,7 +64,7 @@ function template_preprocess_islandora_default_edit(array &$variables) { elseif (user_access(ISLANDORA_VIEW_DATASTREAM_HISTORY)) { $row[] = array(); } - if (islandora_datastream_access(ISLANDORA_VIEW_DATASTREAM_HISTORY, $ds)) { + if (islandora_datastream_access(ISLANDORA_REPLACE_DATASTREAM_CONTENT, $ds)) { // Add new datastream content as the lastest version. $row[] = array( 'class' => 'datastream-replace',