mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-22 13:02:39 +09:00
if company name is not set default value "N/A"
replaced [first name] [Last name]
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user