summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2004-09-16 13:22:52 +0000
committerivan <ivan>2004-09-16 13:22:52 +0000
commitf6fb8fb345371d6d7c147758c63b341e34edeab2 (patch)
treedf010f3d590ce59d31fa2c44a98eb3121cba5053 /httemplate
parent0d88ae3b3b809b79dfcead9479c47fe43b8558fa (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-xhttemplate/edit/part_svc.cgi4
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 {