diff --git a/app/views/issues/_edit.html.erb b/app/views/issues/_edit.html.erb
index 010011fe8..07090c98b 100644
--- a/app/views/issues/_edit.html.erb
+++ b/app/views/issues/_edit.html.erb
@@ -15,7 +15,7 @@
<%= render :partial => (@edit_allowed ? 'form' : 'form_update'), :locals => {:f => f} %>
<% end %>
- <% if authorize_for('timelog', 'edit') %>
+ <% if User.current.allowed_to?(:log_time, @project) %>