summaryrefslogtreecommitdiff
path: root/LedgerSMB/PE.pm
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-06-21 18:58:25 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-06-21 18:58:25 +0000
commit3dea2401927c9ccd10ef8c11505abbab49297c7f (patch)
tree87e537f39142e320a5f1cc1ba688f56a4e0009cb /LedgerSMB/PE.pm
parent40ca34593f24b6a77ad9bdeb64be17fc5d2d8bf1 (diff)
Fixed error updating custom fields and another error saving project not attached to customer
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1291 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/PE.pm')
-rwxr-xr-xLedgerSMB/PE.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/PE.pm b/LedgerSMB/PE.pm
index 24247670..4e17360c 100755
--- a/LedgerSMB/PE.pm
+++ b/LedgerSMB/PE.pm
@@ -204,7 +204,7 @@ sub save_project {
my $dbh = $form->{dbh};
- $form->{customer_id} ||= 'NULL';
+ $form->{customer_id} ||= undef;
$form->{projectnumber} =
$form->update_defaults( $myconfig, "projectnumber", $dbh )