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

SF.net SVN: ledger-smb: [347] trunk/LedgerSMB/Form.pm



Revision: 347
          http://svn.sourceforge.net/ledger-smb/?rev=347&view=rev
Author:   einhverfr
Date:     2006-10-27 14:58:33 -0700 (Fri, 27 Oct 2006)

Log Message:
-----------
UNTESTED:  Quoted form keys to avoid future bugs

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

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2006-10-27 21:07:50 UTC (rev 346)
+++ trunk/LedgerSMB/Form.pm	2006-10-27 21:58:33 UTC (rev 347)
@@ -170,7 +170,7 @@
 
 		$self->{msg} = $msg;
 		$self->{format} = "html";
-		$self->format_string(msg);
+		$self->format_string('msg');
 
 		delete $self->{pre};
 
@@ -679,7 +679,7 @@
 
 						my $line;
 						my $lines = 0;
-						my @d = (description);
+						my @d = qw(description);
 						push @d, "itemnotes" if $self->{countitemnotes};
 
 						foreach my $item (@d) {


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