summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2004-04-30 20:22:50 +0000
committerivan <ivan>2004-04-30 20:22:50 +0000
commit87d033c6898dd553a403d679f6ca1048071843da (patch)
treea1b27d45612024d965478b47f6b3a59ca507bf49
parent2c8ef21f0421c660567dcf4b51e9f2257361444d (diff)
eliminate spurious "multiple records in scalar search" warning
-rw-r--r--FS/FS/cust_main.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index 47fd082..89fd5be 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -1517,7 +1517,7 @@ sub collect {
|| $a->weight <=> $b->weight
|| $a->eventpart <=> $b->eventpart }
grep { $_->seconds <= ( $invoice_time - $cust_bill->_date )
- && ! qsearchs( 'cust_bill_event', {
+ && ! qsearch( 'cust_bill_event', {
'invnum' => $cust_bill->invnum,
'eventpart' => $_->eventpart,
'status' => 'done',