##// END OF EJS Templates
Fixed: 500 error when validation fails on issue edition with no custom fields....
Jean-Philippe Lang -
r970:bd8eded6702a
parent child
Show More
@@ -91,6 +91,7 class IssuesController < ApplicationController
91 91
92 92 def edit
93 93 @priorities = Enumeration::get_values('IPRI')
94 @custom_values = []
94 95 if request.get?
95 96 @custom_values = @project.custom_fields_for_issues(@issue.tracker).collect { |x| @issue.custom_values.find_by_custom_field_id(x.id) || CustomValue.new(:custom_field => x, :customized => @issue) }
96 97 else
General Comments 0
You need to be logged in to leave comments. Login now