From: Mark Wells Date: Fri, 17 Jul 2015 22:20:37 +0000 (-0700) Subject: also fix searching by charged/owed amount X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=dc34663a13aa6bf07e3c0c6da0e30149d65e2b7b also fix searching by charged/owed amount --- diff --git a/FS/FS/cust_bill/Search.pm b/FS/FS/cust_bill/Search.pm index fa552f0d5..58c75e38a 100644 --- a/FS/FS/cust_bill/Search.pm +++ b/FS/FS/cust_bill/Search.pm @@ -288,7 +288,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