summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-16 00:52:31 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-16 00:52:31 +0000
commit0980a3535f3aeb288ed4c5cc842ee74b6eca8786 (patch)
tree6cf39ac07e7eb1492b0a710a762116c7292650a8
parent4dd9f147aa40741c5f70214d20fd1b2031348b6c (diff)
Fix usage of $sth->fetchrow_array
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@631 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xLedgerSMB/JC.pm2
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