mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-21 20:34:57 +09:00
default company value is client's first and last name
This commit is contained in:
1 parent
9238df750c
commit
5c4937468f
1 file changed
+5
-1
@@ -424,11 +424,15 @@ class Registrar_Adapter_Resellerclub extends Registrar_AdapterAbstract
|
||||
private function _createCustomer(Registrar_Domain $domain)
|
||||
{
|
||||
$c = $domain->getContactRegistrar();
|
||||
$company = $c->getCompany();
|
||||
if (!$company){
|
||||
$company = $c->getFirstName() . ' ' . $c->getLastName();
|
||||
}
|
||||
$params = array(
|
||||
'username' => $c->getEmail(),
|
||||
'passwd' => $c->getPassword(),
|
||||
'name' => $c->getName(),
|
||||
'company' => $c->getCompany(),
|
||||
'company' => $company,
|
||||
'address-line-1' => $c->getAddress1(),
|
||||
'address-line-2' => $c->getAddress2(),
|
||||
'city' => $c->getCity(),
|
||||
|
||||
Reference in new issue
Block a user