Skip to content

Commit

Permalink
Merge pull request #39 from ledgersmb/1.3
Browse files Browse the repository at this point in the history
1.3 - sync from central
  • Loading branch information
pongraczi committed Oct 16, 2014
2 parents 4a3f45b + 354416a commit 5afa9f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Changelog for 1.3.45
* Fixed bug 1244, manually entered tax crashes invoice on edit (Chris T)
* Fixed bug 1251, some backports failing due to misplacing db cnx (Chris T)
* Fixed bug 1241, join projection, amounts in invoice details report (Chris T)
* Fixed internal server error on single payment interface (Chris T)

Chris T is Chris Travers

Expand Down
1 change: 1 addition & 0 deletions LedgerSMB/DBObject/Payment.pm
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,7 @@ sub post_payment {
for ($self->_parse_array($self->{amount})){
$_ = $_->bstr if ref $_;
}
$self->{amount} = [map {ref $_ ? $_->bstr() : $_ } @{$self->{amount}}];
my @TMParray = $self->exec_method(funcname => 'payment_post');
$self->{dbh}->commit();
$self->{payment_id} = $TMParray[0]->{payment_post};
Expand Down

0 comments on commit 5afa9f6

Please sign in to comment.