summaryrefslogtreecommitdiff
path: root/LedgerSMB/CT.pm
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-29 20:18:49 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-29 20:18:49 +0000
commit7de9d38661b0ff22dc8e37dd52b01b9e665f22e8 (patch)
tree51d7cfb9e359afd7251aac527ed8b78960a1dae8 /LedgerSMB/CT.pm
parent0dc37dc19e55aa4101017532ca02e0f43496d783 (diff)
Converting some selectrow_array calls to fetchrow_array
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@704 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/CT.pm')
-rwxr-xr-xLedgerSMB/CT.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/CT.pm b/LedgerSMB/CT.pm
index 421444b7..62cc45ae 100755
--- a/LedgerSMB/CT.pm
+++ b/LedgerSMB/CT.pm
@@ -427,7 +427,7 @@ sub save_vendor {
$sth = $dbh->prepare($query);
$sth->execute($form->{id}) || $form->dberror($query);
- if (! $dbh->selectrow_array($query)) {
+ if (! $sth->fetchrow_array) {
$query = qq|INSERT INTO vendor (id)
VALUES (?)|;