diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-29 20:18:49 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-29 20:18:49 +0000 |
commit | 7de9d38661b0ff22dc8e37dd52b01b9e665f22e8 (patch) | |
tree | 51d7cfb9e359afd7251aac527ed8b78960a1dae8 /LedgerSMB/CT.pm | |
parent | 0dc37dc19e55aa4101017532ca02e0f43496d783 (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-x | LedgerSMB/CT.pm | 2 |
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 (?)|; |