Skip to content

Commit

Permalink
1.3-only fix for 1097, to be included in 1.3.39-rc3
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/branches/1.3@6955 4979c152-3d1c-0410-bac9-87ea11338e46
  • Loading branch information
einhverfr committed Mar 28, 2014
1 parent cc03a63 commit 9332625
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Changelog for 1.3.39
* Fixed error that string cannot be used as array during payment (Chris T)
* Fixed POD syntax errors in five LedgerSMB/* files. (Robert C)
* Fixed upgrade tests where null pricegrup exists (Chris T)
* Fixed save button on ar/ap transactions not saving (Chris T, 1097)

Changelog for 1.3.38
* Fixed AR/AP transactions resetting currency/exchange rate (Chris T)
Expand Down
5 changes: 3 additions & 2 deletions bin/aa.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1362,8 +1362,9 @@ sub post {
}

# if oldname ne name redo form
($name) = split /--/, $form->{ $form->{vc} };
if ( $form->{"old$form->{vc}"} ne qq|$name--$form->{"$form->{vc}_id"}| ) {
($name, $id) = split /--/, $form->{ $form->{vc} };
if (( $form->{"old$form->{vc}"} ne qq|$name--$form->{"$form->{vc}_id"}|)
and ($form->{"old$form->{vc}"} !~ /$name--$id--/ )) {
&update;
$form->finalize_request();
}
Expand Down

0 comments on commit 9332625

Please sign in to comment.