[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[4098] branches/1.3/LedgerSMB/Form.pm
- Subject: SF.net SVN: ledger-smb:[4098] branches/1.3/LedgerSMB/Form.pm
- From: ..hidden..
- Date: Sat, 26 Nov 2011 18:30:46 +0000
Revision: 4098
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4098&view=rev
Author: tshvr
Date: 2011-11-26 18:30:46 +0000 (Sat, 26 Nov 2011)
Log Message:
-----------
after selecting something(article,vendor..),action continue,header is set,browser tries to download ir.pl or is.pl oe oe.pl etc.
Modified Paths:
--------------
branches/1.3/LedgerSMB/Form.pm
Modified: branches/1.3/LedgerSMB/Form.pm
===================================================================
--- branches/1.3/LedgerSMB/Form.pm 2011-11-26 14:08:27 UTC (rev 4097)
+++ branches/1.3/LedgerSMB/Form.pm 2011-11-26 18:30:46 UTC (rev 4098)
@@ -127,6 +127,12 @@
}
$self->{action} = "" unless defined $self->{action};
+ if($self->{header})
+ {
+ $logger->trace("self->{header}=$self->{header}");
+ delete $self->{header};
+ $logger->trace("self->{header} unset!!");
+ }
if ( substr( $self->{action}, 0, 1 ) !~ /( |\.)/ ) {
$self->{action} = lc $self->{action};
$self->{action} =~ s/( |-|,|\#|\/|\.$)/_/g;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.