diff --git a/Model/OverrideCompanyModel.php b/Model/OverrideCompanyModel.php index 5d34415..6af11f3 100644 --- a/Model/OverrideCompanyModel.php +++ b/Model/OverrideCompanyModel.php @@ -97,7 +97,8 @@ public function addLeadToCompany($companies, $lead) if (null != $companyLead) { // @deprecated support to be removed in 3.0 - if ($companyLead->wasManuallyRemoved()) { + //if ($companyLead->wasManuallyRemoved()) { + if (method_exists(companyLead,"wasManuallyRemoved")) { $companyLead->setManuallyRemoved(false); $companyLead->setManuallyAdded(false); $contactAdded = true;