From 304ff6ee2592bc18efa121518c0a730952c3ada6 Mon Sep 17 00:00:00 2001 From: "Matthew Wire (MJW Consulting)" Date: Tue, 15 Jan 2019 11:02:08 +0000 Subject: [PATCH] Remove undefined variable when creating note --- CRM/Contact/BAO/Contact.php | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.25.1