summaryrefslogtreecommitdiff
path: root/httemplate/misc/process/delete-customer.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/process/delete-customer.cgi')
-rwxr-xr-xhttemplate/misc/process/delete-customer.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/misc/process/delete-customer.cgi b/httemplate/misc/process/delete-customer.cgi
index d509a5e0e..12011311a 100755
--- a/httemplate/misc/process/delete-customer.cgi
+++ b/httemplate/misc/process/delete-customer.cgi
@@ -28,6 +28,6 @@ if ( $cgi->param('new_custnum') ) {
my $cust_main = qsearchs( 'cust_main', { 'custnum' => $custnum } )
or die "Customer not found: $custnum";
-my $error = $cust_main->delete($new_custnum);
+my $error = $cust_main->delete('new_custnum' => $new_custnum);
</%init>