summaryrefslogtreecommitdiff
path: root/LedgerSMB/CT.pm
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-07-16 16:23:14 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-07-16 16:23:14 +0000
commit3eb7f518615684161e415cc0b7ad8e3c9ca2c511 (patch)
tree73fc3ff3bbce3be394195d3ae9f665d0783d1738 /LedgerSMB/CT.pm
parent57a3805f934c75acfd9dc7aff81f0ced1cfc7e0c (diff)
Correcting bug 1754172: Error saving customer/vendor price matrix
Adding mention of asset depreciation methods to manual git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1404 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/CT.pm')
-rwxr-xr-xLedgerSMB/CT.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/LedgerSMB/CT.pm b/LedgerSMB/CT.pm
index 636d645f..54bdd556 100755
--- a/LedgerSMB/CT.pm
+++ b/LedgerSMB/CT.pm
@@ -1122,10 +1122,9 @@ sub save_pricelist {
my ( $self, $myconfig, $form ) = @_;
my $dbh = $form->{dbh};
-
my $query = qq|
DELETE FROM parts$form->{db}
- WHERE $form->{db}_id = ?}|;
+ WHERE $form->{db}_id = ?|;
$sth = $dbh->prepare($query);
$sth->execute( $form->{id} ) || $form->dberror($query);