summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-07-17 15:20:37 -0700
committerMark Wells <mark@freeside.biz>2015-07-17 16:19:43 -0700
commit4915d6e8fd9dbc933049da8051e2fcfb66da0f8c (patch)
tree19cbb4f8ac84455019f21e4e0f91aac011679bfd
parentc03de6a138b3dda3086240fe6589c9e5be721d83 (diff)
also fix searching by charged/owed amount
-rw-r--r--FS/FS/cust_bill/Search.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_bill/Search.pm b/FS/FS/cust_bill/Search.pm
index 925938d..ee5da3b 100644
--- a/FS/FS/cust_bill/Search.pm
+++ b/FS/FS/cust_bill/Search.pm
@@ -276,7 +276,7 @@ sub search_sql_where {
my @owed = ref($param->{owed})
? @{ $param->{owed} }
: ($param->{owed});
- push @search, map { s/^owed/$owed_sql/ } @owed;
+ push @search, map { s/^owed/$owed_sql/; $_ } @owed;
}
#open/net flags