diff options
author | ivan <ivan> | 2002-02-10 18:56:49 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-02-10 18:56:49 +0000 |
commit | ddb53fcc9fc80561354b97e4e7803004990138d0 (patch) | |
tree | 350d10f3dd5f824cb14455172fab8e8ffe3584b5 /bin | |
parent | b05f4d252a27eab0a6fa8212abf920c0fa24a509 (diff) |
use unique tokens to prevent double-submission of payments in the web UI
(closes: Bug#320)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fs-setup | 4 |
1 files changed, 2 insertions, 2 deletions
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 |