X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fsvc_domain.pm;h=37128a09f6d05c3e27a033502b7d99ac1a9902b0;hp=7ae996178c89ea7b17fbbe1bbc6d814acc9ba16e;hb=0f96c028d39c22135e541fe8307441b100ce9a84;hpb=6f7d4483b99c758e112cbe5a3a6a34617f80fce7 diff --git a/FS/FS/svc_domain.pm b/FS/FS/svc_domain.pm index 7ae996178..37128a09f 100644 --- a/FS/FS/svc_domain.pm +++ b/FS/FS/svc_domain.pm @@ -364,7 +364,7 @@ sub check { # need to match a list of suffixes - no guarantee they're top-level.. # http://wiki.mozilla.org/TLD_List # but this will have to do for now... - $recref->{suffix} || $2; + $recref->{suffix} ||= $2; } else { return "Illegal domain ". $recref->{domain}. " (or unknown registry - try \$whois_hack)";