From 27eadc9742181322576b648487aba3f868de5959 Mon Sep 17 00:00:00 2001 From: tetragon Date: Thu, 16 Nov 2006 00:53:12 +0000 Subject: 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 --- LedgerSMB/JC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LedgerSMB') 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