Save to the user we're working on, not the currently logged in user.

        Patch by yvi. 

diffs (12 lines):

diff -r a709486356b7 -r 9439b2b24547 htdocs/manage/profile/index.bml
--- a/htdocs/manage/profile/index.bml   Mon Oct 11 19:38:50 2010 +0800
+++ b/htdocs/manage/profile/index.bml   Mon Oct 11 19:40:52 2010 +0800
@@ -649,7 +649,7 @@ body<=
             $update{'oldenc'} = $POST{'oldenc'};
         }
 
-        my $save_rv = LJ::Setting->save_all($remote, \%POST, \...@settings);
+        my $save_rv = LJ::Setting->save_all( $u, \%POST, \...@settings );
 
         $u->update_self( \%update );
 
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to