projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c4c1f6
)
Issue #3483: parent_id not always available as index
author
Herb
<herb@3speedhub.com>
Wed, 8 Jun 2022 21:15:46 +0000
(17:15 -0400)
committer
Herb v/d Dool
<herb@3speedhub.com>
Wed, 8 Jun 2022 21:17:58 +0000
(17:17 -0400)
CRM/Note/Form/Note.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Note/Form/Note.php
b/CRM/Note/Form/Note.php
index a534dd5518bac694f2de1a462b7d7987eda1484a..1bfed49b12db2451b0d4991a2c04280e6d73c74e 100644
(file)
--- a/
CRM/Note/Form/Note.php
+++ b/
CRM/Note/Form/Note.php
@@
-166,7
+166,7
@@
class CRM_Note_Form_Note extends CRM_Core_Form {
$session = CRM_Core_Session::singleton();
$params['contact_id'] = $session->get('userID');
- if (
$params['parent_id']
) {
+ if (
!empty($params['parent_id'])
) {
$params['entity_table'] = 'civicrm_note';
$params['entity_id'] = $params['parent_id'];
}