summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/controllers/my_controller.rb2
-rw-r--r--doc/CHANGELOG2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/my_controller.rb b/app/controllers/my_controller.rb
index e29c78e03..fcb3d2617 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 d2934facb..5cdd12fee 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