RT# 77532 - fixed error where cust main fax not showing, and fixed checking of phonet...
[freeside.git] / FS / FS / cust_main / Search.pm
index 479ebf5..25216c6 100644 (file)
@@ -793,7 +793,7 @@ sub search {
   # phones
   ##
 
-  foreach my $phonet (qw(daytime night mobile)) {
+  foreach my $phonet (qw(daytime night mobile fax)) {
     if ($params->{$phonet}) {
       $params->{$phonet} =~ s/\D//g;
       $params->{$phonet} =~ /^(\d{3})(\d{3})(\d{4})(\d*)$/