if company name is not set default value "N/A"

replaced [first name] [Last name]
This commit is contained in:
Vaidas Lungis committed 2014-11-21 17:11:04 +02:00
1 parent cd56681549
commit 1184aa619b
1 file changed
+1 -1
@@ -440,7 +440,7 @@ class Registrar_Adapter_Resellerclub extends Registrar_AdapterAbstract
$c = $domain->getContactRegistrar();
$company = $c->getCompany();
if (!isset($company) || strlen(trim($company)) == 0 ){
$company = $c->getFirstName() . ' ' . $c->getLastName();
$company = 'N/A';
}
$phoneNum = $c->getTel();
$phoneNum = preg_replace( "/[^0-9]/", "", $phoneNum);