]> source.dussan.org Git - redmine.git/commitdiff
Prevents duplicate element ids (#15191).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 26 Oct 2013 07:17:02 +0000 (07:17 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 26 Oct 2013 07:17:02 +0000 (07:17 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12236 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/users/_mail_notifications.html.erb

index 51024fb9a65b95b0ad574b3e6adeba6d1d0433e8..7d253f7e8d16abc3e8a7e802e9f3996594195294 100644 (file)
@@ -13,7 +13,8 @@
           check_box_tag(
             'user[notified_project_ids][]',
              project.id,
-             @user.notified_projects_ids.include?(project.id)
+             @user.notified_projects_ids.include?(project.id),
+             :id => nil
           ) + ' ' + h(project.name)
         )
       end %>