Index: openacs-4/packages/ecommerce/tcl/ecommerce-scheduled-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/tcl/ecommerce-scheduled-procs.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/ecommerce/tcl/ecommerce-scheduled-procs.tcl 24 Oct 2001 03:12:31 -0000 1.4 +++ openacs-4/packages/ecommerce/tcl/ecommerce-scheduled-procs.tcl 24 Nov 2001 03:50:55 -0000 1.5 @@ -209,6 +209,7 @@ select avs_code from ec_cybercash_log where transaction_id = :transaction_id + and avs_code != '' and txn_attempted_time = (select MAX(txn_attempted_time) from ec_cybercash_log log2 where log2.transaction_id = :transaction_id)