From 0980a3535f3aeb288ed4c5cc842ee74b6eca8786 Mon Sep 17 00:00:00 2001 From: tetragon Date: Thu, 16 Nov 2006 00:52:31 +0000 Subject: 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 --- LedgerSMB/JC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3