Do not generate duplicate ids.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8556 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-01-08 13:06:19 +00:00
parent 31149700cb
commit a66718239f
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
<caption><%= l(:label_related_issues) %></caption> <caption><%= l(:label_related_issues) %></caption>
<% issues.each do |issue| -%> <% issues.each do |issue| -%>
<tr class="hascontextmenu"> <tr class="hascontextmenu">
<td class="checkbox"><%= check_box_tag 'ids[]', issue.id %></td> <td class="checkbox"><%= check_box_tag 'ids[]', issue.id, false, :id => nil %></td>
<td><%= link_to_issue(issue, :project => (@project != issue.project)) %></td> <td><%= link_to_issue(issue, :project => (@project != issue.project)) %></td>
</tr> </tr>
<% end -%> <% end -%>