Skip to content

Commit

Permalink
Merge pull request #13457 from mattwire/contact_note
Browse files Browse the repository at this point in the history
REF Remove undefined variable when creating note
  • Loading branch information
colemanw authored Jan 20, 2019
2 parents 959b0b1 + 304ff6e commit 4e6e5cc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CRM/Contact/BAO/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,6 @@ public static function &create(&$params, $fixAddress = TRUE, $invokeHooks = TRUE
}
else {
$contactId = $contact->id;
if (isset($note['contact_id'])) {
$contactId = $note['contact_id'];
}
//if logged in user, overwrite contactId
if ($userID) {
$contactId = $userID;
Expand Down

0 comments on commit 4e6e5cc

Please sign in to comment.