diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-07-17 15:57:11 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-07-17 15:57:11 +0000 |
commit | 478075a6c2d3e8d12d1b40189f0929ba40d70269 (patch) | |
tree | edd20f9fb33dcfc57ebffd653b35c1b81aae51bb | |
parent | afb86944515aa5800b5c393cb6f76a5cee0b65f8 (diff) |
Fixed: Timecards ignore price matrix (bug 1754099)
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1418 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r-- | LedgerSMB/JC.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/LedgerSMB/JC.pm b/LedgerSMB/JC.pm index c9addc51..936aeee2 100644 --- a/LedgerSMB/JC.pm +++ b/LedgerSMB/JC.pm @@ -138,7 +138,8 @@ sub jcitems_links { my $sth = $dbh->prepare($query); $sth->execute( $form->{project_id} ); - if ( $sth->fetchrow_array ) { + ($parts_id, $form->{customer_id} ) = $sth->fetchrow_array ; + if ( $parts_id ) { $form->{project} = 'job'; $query = qq| SELECT id |