diff --git a/app/controllers/my_controller.rb b/app/controllers/my_controller.rb index e29c78e0373e3310f415b131c0bcfac03d754d34..fcb3d26176313fb56e13ac54468043376466ed45 100644 --- a/app/controllers/my_controller.rb +++ b/app/controllers/my_controller.rb @@ -51,7 +51,7 @@ class MyController < ApplicationController @pref = @user.pref @user.attributes = params[:user] @user.pref.attributes = params[:pref] - if request.post? and @user.save + if request.post? and @user.save and @user.pref.save set_localization flash.now[:notice] = l(:notice_account_updated) self.logged_in_user.reload diff --git a/doc/CHANGELOG b/doc/CHANGELOG index d2934facb1489c94c7e3f3a7a8364a7644bc9a0e..5cdd12feeb85b05c5178337cb06919a19eda5aab 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -29,7 +29,7 @@ http://redmine.rubyforge.org/ * 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: crash when french "issue_edit" email notification is sent - +* fixed: hide mail preference not saved (my/account) == 01/03/2006 v0.4.1