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

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



Revision: 4189
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4189&view=rev
Author:   tshvr
Date:     2011-12-09 14:58:37 +0000 (Fri, 09 Dec 2011)
Log Message:
-----------
more comment on session_id

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

Modified: branches/1.3/LedgerSMB/Form.pm
===================================================================
--- branches/1.3/LedgerSMB/Form.pm	2011-12-09 14:57:24 UTC (rev 4188)
+++ branches/1.3/LedgerSMB/Form.pm	2011-12-09 14:58:37 UTC (rev 4189)
@@ -203,10 +203,11 @@
         return 1;
     }
     my $sth = $self->{dbh}->prepare('select form_open(?)');
+    #HV session_id not always set in LedgerSMB/Auth/DB.pm because of mix old,new code-chain?
     my $rc=$sth->execute($self->{session_id});#HV ERROR:Invalid session,if count(*) FROM session!=1,multiple login
     if(! $rc)
     {
-     $logger->error("select form_open \$self->{session_id}=$self->{session_id} \$rc=$rc,invalid count FROM session?");
+     $logger->error("select form_open \$self->{form_id}=$self->{form_id} \$self->{session_id}=$self->{session_id} \$rc=$rc,invalid count FROM session?");
      return undef;
     }
     my @results = $sth->fetchrow_array();

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