diff --git a/app/views/issues/_form.rhtml b/app/views/issues/_form.rhtml index 6a4cd0f5f..20ca666c4 100644 --- a/app/views/issues/_form.rhtml +++ b/app/views/issues/_form.rhtml @@ -15,7 +15,7 @@
-<% if @issue.new_record? || @allowed_statuses %> +<% if @issue.new_record? || @allowed_statuses.any? %>

<%= f.select :status_id, (@allowed_statuses.collect {|p| [p.name, p.id]}), :required => true %>

<% else %>

<%= @issue.status.name %>