From: Matthew Wire (MJW Consulting) Date: Tue, 15 Jan 2019 11:02:08 +0000 (+0000) Subject: Remove undefined variable when creating note X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=304ff6ee2592bc18efa121518c0a730952c3ada6;p=civicrm-core.git Remove undefined variable when creating note --- diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php index 4071174b3b..4dbe7fd8b5 100644 --- a/CRM/Contact/BAO/Contact.php +++ b/CRM/Contact/BAO/Contact.php @@ -379,9 +379,6 @@ class CRM_Contact_BAO_Contact extends CRM_Contact_DAO_Contact { } else { $contactId = $contact->id; - if (isset($note['contact_id'])) { - $contactId = $note['contact_id']; - } //if logged in user, overwrite contactId if ($userID) { $contactId = $userID;