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:52 -0700
commitde4008c1c673fbb50e8b2806126fe9e7bb8ec0ee (patch)
treeafeb237f6eaf2009b73c7a15835290f5a7024879
parentcf90a22a09d15140168f8232ccea788c36af71f2 (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