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

SF.net SVN: ledger-smb:[6726] branches/1.3/LedgerSMB/DBObject/Payment.pm



Revision: 6726
          http://sourceforge.net/p/ledger-smb/code/6726
Author:   einhverfr
Date:     2014-02-03 04:21:02 +0000 (Mon, 03 Feb 2014)
Log Message:
-----------
1.3-fix only, prevents internal server errors from parsed amount numbers

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

Modified: branches/1.3/LedgerSMB/DBObject/Payment.pm
===================================================================
--- branches/1.3/LedgerSMB/DBObject/Payment.pm	2014-02-02 15:04:40 UTC (rev 6725)
+++ branches/1.3/LedgerSMB/DBObject/Payment.pm	2014-02-03 04:21:02 UTC (rev 6726)
@@ -735,6 +735,7 @@
  my ($self) = @_;
  # We have to check if it was a fx_payment
  $self->{currency} = $self->{curr};
+ $_ = "$_" for @{$self->{amount}};
 
 
  if ("$self->{currency}" ne $self->get_default_currency()) {

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


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits