Commit dd54b1aa authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

fixed: hide mail preference not saved (my/account)

git-svn-id: http://redmine.rubyforge.org/svn/trunk@257 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 8fa96feb
...@@ -51,7 +51,7 @@ class MyController < ApplicationController ...@@ -51,7 +51,7 @@ class MyController < ApplicationController
@pref = @user.pref @pref = @user.pref
@user.attributes = params[:user] @user.attributes = params[:user]
@user.pref.attributes = params[:pref] @user.pref.attributes = params[:pref]
if request.post? and @user.save if request.post? and @user.save and @user.pref.save
set_localization set_localization
flash.now[:notice] = l(:notice_account_updated) flash.now[:notice] = l(:notice_account_updated)
self.logged_in_user.reload self.logged_in_user.reload
......
...@@ -29,7 +29,7 @@ http://redmine.rubyforge.org/ ...@@ -29,7 +29,7 @@ http://redmine.rubyforge.org/
* fixed: unable to delete an issue status even if it's not used yet * fixed: unable to delete an issue status even if it's not used yet
* fixed: filters ignored when exporting a predefined query to csv/pdf * fixed: filters ignored when exporting a predefined query to csv/pdf
* fixed: crash when french "issue_edit" email notification is sent * fixed: crash when french "issue_edit" email notification is sent
* fixed: hide mail preference not saved (my/account)
== 01/03/2006 v0.4.1 == 01/03/2006 v0.4.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment