From 8fa7d60799d6d49bfe054e07b7b982c33772fb83 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 16 Sep 2004 13:22:51 +0000 Subject: add uid to mass duplicate checking on export changes, fix bug in new export editing, error message includes the number of duplicate customers also --- httemplate/edit/part_svc.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'httemplate/edit') diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi index 89f75a5f4..befd9b24a 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 { -- cgit v1.2.1