@@ -8,7 +8,6 @@ |
||
8 | 8 | use Wabel\Zoho\CRM\AbstractZohoDao; |
9 | 9 | use Wabel\Zoho\CRM\ZohoBeanInterface; |
10 | 10 | use Wabel\Zoho\CRM\Exception\ZohoCRMException; |
11 | -use Wabel\Zoho\CRM\Exception\ZohoCRMResponseException; |
|
12 | 11 | use function Stringy\create as s; |
13 | 12 | |
14 | 13 | /** |
@@ -106,9 +106,9 @@ |
||
106 | 106 | foreach ($row as $columnName => $columnValue) { |
107 | 107 | if (!in_array($columnName,['id','uid']) || isset($fieldsMatching[$columnName])) { |
108 | 108 | $value = $this->formatValueToBeans($zohoDao->getModule(), $fieldsMatching, $columnName, $columnValue, null, $row['uid']); |
109 | - if($columnValue){ |
|
110 | - $zohoBean->{$fieldsMatching[$columnName]['setter']}($value); |
|
111 | - } |
|
109 | + if($columnValue){ |
|
110 | + $zohoBean->{$fieldsMatching[$columnName]['setter']}($value); |
|
111 | + } |
|
112 | 112 | } |
113 | 113 | } |
114 | 114 | $zohoBeans[$row['uid']] = $zohoBean; |