summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2004-04-30 20:22:49 +0000
committerivan <ivan>2004-04-30 20:22:49 +0000
commitd36f8467522fc1cf91775dfeffc15308f2c3034b (patch)
treecf9437c781a6cb6d428489ef316e911bd3a0779a /FS
parentc28a1f2d8b6c0c355a96f3b8f34c2ec40971c2a1 (diff)
eliminate spurious "multiple records in scalar search" warning
Diffstat (limited to 'FS')
-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 2f01111ef..f275d10fe 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -1537,7 +1537,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',