diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-16 00:53:12 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-16 00:53:12 +0000 |
commit | 27eadc9742181322576b648487aba3f868de5959 (patch) | |
tree | 6cf39ac07e7eb1492b0a710a762116c7292650a8 /LedgerSMB | |
parent | cc6fa2967c2e04249cea01cacba5a60f74c8f14b (diff) |
Fix usage of $sth->fetchrow_array
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@632 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-x | LedgerSMB/JC.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/JC.pm b/LedgerSMB/JC.pm index 3bcad40e..09fe9b4f 100755 --- a/LedgerSMB/JC.pm +++ b/LedgerSMB/JC.pm @@ -141,7 +141,7 @@ sub jcitems_links { my $sth = $dbh->prepare($query); $sth->execute($form->{project_id}); - if ($sth->fetchrow_array($query)) { + if ($sth->fetchrow_array) { $form->{project} = 'job'; $query = qq| SELECT id |