update company value check

This commit is contained in:
Vaidas Lungis committed 2014-11-18 13:17:40 +02:00
1 parent d47ce4f8d0
commit 00e51c3368
1 file changed
+1 -1
@@ -425,7 +425,7 @@ class Registrar_Adapter_Resellerclub extends Registrar_AdapterAbstract
{
$c = $domain->getContactRegistrar();
$company = $c->getCompany();
if (!$company){
if (!isset($company) || strlen(trim($company)) == 0 ){
$company = $c->getFirstName() . ' ' . $c->getLastName();
}
$phoneNum = $c->getTel();