[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5515] trunk



Revision: 5515
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5515&view=rev
Author:   einhverfr
Date:     2013-01-08 02:21:17 +0000 (Tue, 08 Jan 2013)
Log Message:
-----------
Fixing can't set stylesheet in preferences screen

Modified Paths:
--------------
    trunk/Changelog
    trunk/LedgerSMB.pm

Modified: trunk/Changelog
===================================================================
--- trunk/Changelog	2013-01-08 02:10:15 UTC (rev 5514)
+++ trunk/Changelog	2013-01-08 02:21:17 UTC (rev 5515)
@@ -96,6 +96,7 @@
 * Fixed new Dynatable.tex not handling col ids with underscores (Chris T)
 * Fixed admin passwd reset directing to showing new user screen (Chris T)
 * Fixed admin passwd reset ineffective (Chris T, bug 3599803)
+* Fixed stylesheet cannot be set on preferences screen (Chris T, 3599804)
 
 Changelog for 1.3.27
 * Detect whether ledgersmb.conf exists during Makefile.PL run and create if

Modified: trunk/LedgerSMB.pm
===================================================================
--- trunk/LedgerSMB.pm	2013-01-08 02:10:15 UTC (rev 5514)
+++ trunk/LedgerSMB.pm	2013-01-08 02:21:17 UTC (rev 5515)
@@ -386,7 +386,7 @@
     $self->{_locale}=LedgerSMB::Locale->get_handle($self->{_user}->{language})
      or $self->error(__FILE__.':'.__LINE__.": Locale not loaded: $!\n");
 
-    $self->{stylesheet} = $self->{_user}->{stylesheet};
+    $self->{stylesheet} = $self->{_user}->{stylesheet} unless $self->{stylesheet};
 
     $logger->debug("End");
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.