Skip to content

Commit

Permalink
Actually PR TheDMSGroup#96 but then again so I can test the build fai…
Browse files Browse the repository at this point in the history
…lures
  • Loading branch information
nickveenhof authored May 4, 2021
1 parent 53e9c49 commit 4bcde0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/OverrideCompanyModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function addLeadToCompany($companies, $lead)

if (null != $companyLead) {
// @deprecated support to be removed in 3.0
if ($companyLead->wasManuallyRemoved()) {
if (method_exists(companyLead,"wasManuallyRemoved")) {
$companyLead->setManuallyRemoved(false);
$companyLead->setManuallyAdded(false);
$contactAdded = true;
Expand Down

0 comments on commit 4bcde0c

Please sign in to comment.