summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-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