diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-02-03 14:12:00 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-02-03 14:12:00 -0800 |
commit | 8b6cc52d49073946eebe28cc9fdcc16789952650 (patch) | |
tree | 65780417daa1cc2e9026c9f6861aecca75fb1aff /FS/FS/svc_Common.pm | |
parent | 6e2e2e192be2ac9267db44c736de34082262cc65 (diff) |
add command-line tool to list phone numbers, RT#21054
Diffstat (limited to 'FS/FS/svc_Common.pm')
-rw-r--r-- | FS/FS/svc_Common.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/svc_Common.pm b/FS/FS/svc_Common.pm index af655e7b6..21710226a 100644 --- a/FS/FS/svc_Common.pm +++ b/FS/FS/svc_Common.pm @@ -1360,7 +1360,7 @@ sub search { } #customer balance - if ( $params->{'balance'} =~ /^\s*(\d*(\.\d{1,2})?)\s*$/ && length($1) ) { + if ( $params->{'balance'} =~ /^\s*(\-?\d*(\.\d{1,2})?)\s*$/ && length($1) ) { my $balance = $1; my $age = ''; |