From 00e51c3368fca2fd4e1b67bd59fb102d7bef1669 Mon Sep 17 00:00:00 2001 From: Vaidas Lungis Date: Tue, 18 Nov 2014 13:17:40 +0200 Subject: [PATCH] update company value check --- src/bb-library/Registrar/Adapter/Resellerclub.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bb-library/Registrar/Adapter/Resellerclub.php b/src/bb-library/Registrar/Adapter/Resellerclub.php index 455388ccd..51bfa276b 100644 --- a/src/bb-library/Registrar/Adapter/Resellerclub.php +++ b/src/bb-library/Registrar/Adapter/Resellerclub.php @@ -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();