summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authorivan <ivan>2010-08-11 06:35:20 +0000
committerivan <ivan>2010-08-11 06:35:20 +0000
commit9f3d1466f4dd917aeb07d7e85222d97e131062f1 (patch)
tree6a2be98b3b72f38f124d8a6a33b62bd8e2738ee9 /httemplate/misc
parentfc6928bd855d50cbd96b977746baf47c27fd99df (diff)
a better customer delete, RT#9564
Diffstat (limited to 'httemplate/misc')
-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>