diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-03-22 22:20:45 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-03-22 22:20:45 +0000 |
commit | 2ca5c9fb729d24c6a18c5f81b8ba0890b727b48a (patch) | |
tree | 6b4ecfafce3810dd6f42c780d3f5e648e298055a /LedgerSMB | |
parent | c433b7aceda7f776b8e6010d52d079586eac3d73 (diff) |
Final changes before release changes for -rc5: 2 errors corrected in OE.pm and /tools/cli moved to new User constructor
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@986 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-x | LedgerSMB/OE.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/LedgerSMB/OE.pm b/LedgerSMB/OE.pm index b5bbc6a4..6fd5aeca 100755 --- a/LedgerSMB/OE.pm +++ b/LedgerSMB/OE.pm @@ -2546,7 +2546,7 @@ sub consolidate_orders { $amount += $ref->{amount}; $netamount += $ref->{netamount}; - $id = $dbh->quore($id); + $id = $dbh->quote($id); foreach $item (@{ $oe{orderitems}{$curr}{$id} }) { @@ -2605,9 +2605,7 @@ sub consolidate_orders { department_id = $department_id WHERE id = $id|; $sth = $dbh->prepare($query); - $sth->execute ( - $department_id, $id - ) || $form->dberror($query); + $sth->execute () || $form->dberror($query); # add items |