@@ -45,8 +45,9 @@ |
||
45 | 45 | 'link_type' => $link_type |
46 | 46 | ]); |
47 | 47 | |
48 | - if (!$peopleLink) |
|
49 | - $peopleLink = new PeopleLink(); |
|
48 | + if (!$peopleLink) { |
|
49 | + $peopleLink = new PeopleLink(); |
|
50 | + } |
|
50 | 51 | |
51 | 52 | $peopleLink->setCompany($company); |
52 | 53 | $peopleLink->setPeople($people); |