From ddb53fcc9fc80561354b97e4e7803004990138d0 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 10 Feb 2002 18:56:49 +0000 Subject: use unique tokens to prevent double-submission of payments in the web UI (closes: Bug#320) --- bin/fs-setup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/fs-setup') diff --git a/bin/fs-setup b/bin/fs-setup index 07c9709a1..5f8059425 100755 --- a/bin/fs-setup +++ b/bin/fs-setup @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: fs-setup,v 1.75 2002-02-06 15:07:49 ivan Exp $ +# $Id: fs-setup,v 1.76 2002-02-10 18:56:49 ivan Exp $ #to delay loading dbdef until we're ready BEGIN { $FS::Record::setup_hack = 1; } @@ -500,7 +500,7 @@ sub tables_hash_hack { ], 'primary_key' => 'billpaynum', 'unique' => [ [] ], - 'index' => [ [ 'paynum', 'invnum' ] ], + 'index' => [ [ 'paynum' ], [ 'custnum' ], [ 'paybatch' ] ], }, 'cust_pay_batch' => { #what's this used for again? list of customers -- cgit v1.2.1