diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-10-26 07:17:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-10-26 07:17:02 +0000 |
commit | 711982b7b316ae3ff79ac5cf4d3d4525869d13c6 (patch) | |
tree | e0a56bc76f51256cb13534218821fdb0e9923cbc /app/views | |
parent | 3578cf4d9a53e9fcb77ac40f70ed2cc535794777 (diff) | |
download | redmine-711982b7b316ae3ff79ac5cf4d3d4525869d13c6.tar.gz redmine-711982b7b316ae3ff79ac5cf4d3d4525869d13c6.zip |
Prevents duplicate element ids (#15191).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12236 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/users/_mail_notifications.html.erb | 3 |
1 files changed, 2 insertions, 1 deletions
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 %> |