diff options
author | ivan <ivan> | 2004-09-16 13:22:52 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-09-16 13:22:52 +0000 |
commit | f6fb8fb345371d6d7c147758c63b341e34edeab2 (patch) | |
tree | df010f3d590ce59d31fa2c44a98eb3121cba5053 /httemplate | |
parent | 0d88ae3b3b809b79dfcead9479c47fe43b8558fa (diff) |
add uid to mass duplicate checking on export changes, fix bug in new export editing, error message includes the number of duplicate customers also
Diffstat (limited to 'httemplate')
-rwxr-xr-x | httemplate/edit/part_svc.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi index 15410b4ff..21bb3ad4f 100755 --- a/httemplate/edit/part_svc.cgi +++ b/httemplate/edit/part_svc.cgi @@ -25,9 +25,9 @@ if ( $cgi->param('magic') eq 'process' ) { } ); my %exportnums = - map { $_->exportnum => $cgi->param('exportnum'.$_->exportnum) } + map { $_->exportnum => ( $cgi->param('exportnum'.$_->exportnum) || '') } qsearch('part_export', {} ); - + if ( $svcpart ) { $error = $new->replace($old, '1.3-COMPAT', [ 'usergroup' ], \%exportnums ); } else { |