From 711982b7b316ae3ff79ac5cf4d3d4525869d13c6 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 26 Oct 2013 07:17:02 +0000 Subject: [PATCH] Prevents duplicate element ids (#15191). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12236 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/users/_mail_notifications.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/users/_mail_notifications.html.erb b/app/views/users/_mail_notifications.html.erb index 51024fb9a..7d253f7e8 100644 --- a/app/views/users/_mail_notifications.html.erb +++ b/app/views/users/_mail_notifications.html.erb @@ -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 %> -- 2.39.5