diff options
Diffstat (limited to 'app/views/timelog/_form.html.erb')
-rw-r--r-- | app/views/timelog/_form.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/timelog/_form.html.erb b/app/views/timelog/_form.html.erb index 8b1ed3a0a..7ecdd446d 100644 --- a/app/views/timelog/_form.html.erb +++ b/app/views/timelog/_form.html.erb @@ -3,7 +3,7 @@ <div class="box tabular"> <% if @time_entry.new_record? %> - <% if params[:project_id] %> + <% if params[:project_id] || @time_entry.issue %> <%= f.hidden_field :project_id %> <% else %> <p><%= f.select :project_id, project_tree_options_for_select(Project.allowed_to(:log_time).all, :selected => @time_entry.project), :required => true %></p> |