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

git-svn-id: http://redmine.rubyforge.org/svn/trunk@257 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-02-18 13:56:35 +00:00
parent 8fa96feb1f
commit dd54b1aacb
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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