[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[5699] trunk/LedgerSMB/Scripts/user.pm
- Subject: SF.net SVN: ledger-smb:[5699] trunk/LedgerSMB/Scripts/user.pm
- From: ..hidden..
- Date: Sat, 23 Mar 2013 13:57:10 +0000
Revision: 5699
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5699&view=rev
Author: einhverfr
Date: 2013-03-23 13:57:09 +0000 (Sat, 23 Mar 2013)
Log Message:
-----------
Scoping fix on preferences fix
Modified Paths:
--------------
trunk/LedgerSMB/Scripts/user.pm
Modified: trunk/LedgerSMB/Scripts/user.pm
===================================================================
--- trunk/LedgerSMB/Scripts/user.pm 2013-03-23 13:51:50 UTC (rev 5698)
+++ trunk/LedgerSMB/Scripts/user.pm 2013-03-23 13:57:09 UTC (rev 5699)
@@ -73,7 +73,7 @@
sub save_preferences {
my ($request) = @_;
$request->{_user}->{language} = $request->{language};
- $locale = LedgerSMB::Locale->get_handle($request->{_user}->{language});
+ my $locale = LedgerSMB::Locale->get_handle($request->{_user}->{language});
$request->{_locale} = $locale;
$LedgerSMB::App_State::Locale = $locale;
my $user = LedgerSMB::DBObject::User->new({base => $request});
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.