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:
2545210
)
Fix a PHP notice for users with limited permissions when loading contact summary
author
Matthew Wire
<mjw@mjwconsult.co.uk>
Wed, 12 Feb 2020 15:41:48 +0000
(15:41 +0000)
committer
Matthew Wire
<mjw@mjwconsult.co.uk>
Wed, 12 Feb 2020 15:41:48 +0000
(15:41 +0000)
CRM/Core/BAO/Note.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/BAO/Note.php
b/CRM/Core/BAO/Note.php
index ce27f69cb6d3e3f1dd45b36e2dbd3bad375a0c22..1e839357c2329322dd323dc3bcea7cb4d22bf852 100644
(file)
--- a/
CRM/Core/BAO/Note.php
+++ b/
CRM/Core/BAO/Note.php
@@
-84,7
+84,7
@@
class CRM_Core_BAO_Note extends CRM_Core_DAO_Note {
CRM_Utils_Hook::notePrivacy($noteValues);
- if (
!$noteValues['privacy']
) {
+ if (
empty($noteValues['privacy'])
) {
return FALSE;
}
elseif (isset($noteValues['notePrivacy_hidden'])) {