diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-07-09 23:09:45 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-07-09 23:09:45 +0000 |
commit | 8b040e5df9af9de3d01e3451b56ae37c90df1a4d (patch) | |
tree | 9e39ca28325ff4a195ad174585d61562169fcede /LedgerSMB/PE.pm | |
parent | 4de76bf567a88296a96401168516f6fc2e90996e (diff) |
Fixing bug 1748255
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1361 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/PE.pm')
-rwxr-xr-x | LedgerSMB/PE.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LedgerSMB/PE.pm b/LedgerSMB/PE.pm index 377a1c52..fa3bcb8b 100755 --- a/LedgerSMB/PE.pm +++ b/LedgerSMB/PE.pm @@ -568,6 +568,9 @@ sub get_customer { sub save_job { my ( $self, $myconfig, $form ) = @_; + $form->{projectnumber} = + $form->update_defaults( $myconfig, "projectnumber", $dbh ) + unless $form->{projectnumber}; my $dbh = $form->{dbh}; @@ -597,9 +600,6 @@ sub save_job { ( $form->{id} ) = $dbh->selectrow_array($query); } - $form->{projectnumber} = - $form->update_defaults( $myconfig, "projectnumber", $dbh ) - unless $form->{projectnumber}; $query = qq| UPDATE project |