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

SF.net SVN: ledger-smb:[3796] branches/1.3/LedgerSMB.pm



Revision: 3796
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3796&view=rev
Author:   einhverfr
Date:     2011-10-04 18:25:06 +0000 (Tue, 04 Oct 2011)
Log Message:
-----------
fix for bug 3418336 per Herman Vierendeels

Modified Paths:
--------------
    branches/1.3/LedgerSMB.pm

Modified: branches/1.3/LedgerSMB.pm
===================================================================
--- branches/1.3/LedgerSMB.pm	2011-10-04 15:07:24 UTC (rev 3795)
+++ branches/1.3/LedgerSMB.pm	2011-10-04 18:25:06 UTC (rev 3796)
@@ -318,7 +318,7 @@
     if (!$self->{company} && $self->is_run_mode('cgi', 'mod_perl')){
          my $ccookie = $cookie{${LedgerSMB::Sysconfig::cookie_name}};
          $ccookie =~ s/.*:([^:]*)$/$1/;
-         $self->{company} = $ccookie;
+         if($ccookie ne 'Login') { $self->{company} = $ccookie; } 
     }
     $logger->debug("LedgerSMB.pm: \$self->{company} = $self->{company}");
 

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