diff --git a/plugins/virtuoso/views/virtuoso_plugin_admin/_server_list_item.html.erb b/plugins/virtuoso/views/virtuoso_plugin_admin/_server_list_item.html.erb
index d6b8a45..d88dd48 100644
--- a/plugins/virtuoso/views/virtuoso_plugin_admin/_server_list_item.html.erb
+++ b/plugins/virtuoso/views/virtuoso_plugin_admin/_server_list_item.html.erb
@@ -1,9 +1,14 @@
- <% value = server_list_item[:dspace_uri] if server_list_item %>
+ <%
+
+ value = server_list_item[:dspace_uri] if server_list_item %>
<%= text_field_tag 'settings[dspace_servers][][dspace_uri]', value, { :class => 'link-name', :maxlength => 60, :size=> 58 } %>
<%= button_without_text(:delete, _('Delete'), "#" , :class=>"delete-server-list-row") %>
- <% last_execution = server_list_item[:last_harvest] if server_list_item
- if last_execution %>
+
+ <%
+ last_execution = server_list_item["last_harvest"] if server_list_item
+ if last_execution
+ %>
<%= _('Last execution:') %>
<%= time_ago_as_sentence last_execution %>
--
libgit2 0.21.2