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

SF.net SVN: ledger-smb: [640] branches/1.2/LedgerSMB/Form.pm



Revision: 640
          http://svn.sourceforge.net/ledger-smb/?rev=640&view=rev
Author:   jasonjayr
Date:     2006-11-15 19:56:53 -0800 (Wed, 15 Nov 2006)

Log Message:
-----------
Merging Fix from trunk, make $self a local so calling Form->new() repeatly doesn't change one global $self

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

Modified: branches/1.2/LedgerSMB/Form.pm
===================================================================
--- branches/1.2/LedgerSMB/Form.pm	2006-11-16 03:47:08 UTC (rev 639)
+++ branches/1.2/LedgerSMB/Form.pm	2006-11-16 03:56:53 UTC (rev 640)
@@ -57,7 +57,8 @@
 	elsif ($ARGV[0]) {
 		$_ = $ARGV[0];
 	}
-
+	
+	my $self = {};
 	%$self = split /[&=]/;
 	for (keys %$self) { $self->{$_} = unescape("", $self->{$_}) }
 


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