summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorjeff <jeff>2006-06-16 01:23:41 +0000
committerjeff <jeff>2006-06-16 01:23:41 +0000
commitaaad08cae3a0d46d012de5b78360101cda836c30 (patch)
treee0ed09402aa5972c6400232572e1e0a0bf992a7b /httemplate
parent1904b218cacfe4e96f3fd3b57f7242617099c485 (diff)
value issues and many bits remain
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/misc/download-batch.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/misc/download-batch.cgi b/httemplate/misc/download-batch.cgi
index 2d6f8a286..6172b1335 100644
--- a/httemplate/misc/download-batch.cgi
+++ b/httemplate/misc/download-batch.cgi
@@ -16,7 +16,7 @@ my $oldAutoCommit = $FS::UID::AutoCommit;
local $FS::UID::AutoCommit = 0;
my $dbh = dbh;
-my $pay_batch = qsearchs('pay_batch', {'status'=>''} );
+my $pay_batch = qsearchs('pay_batch', {'status'=>'O'} );
die "No pending batch. \n" unless $pay_batch;
my %batchhash = $pay_batch->hash;