Unverified Commit 4e6e5cc7 authored by colemanw's avatar colemanw Committed by GitHub

Merge pull request #13457 from mattwire/contact_note

REF Remove undefined variable when creating note
parents 959b0b1b 304ff6ee
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment