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:
20df0e6
)
CRM-17310 follow up fix - report criteria not showing at urls like civicrm/report...
author
eileen
<emcnaughton@wikimedia.org>
Thu, 23 Jun 2016 03:03:52 +0000
(15:03 +1200)
committer
eileen
<emcnaughton@wikimedia.org>
Thu, 23 Jun 2016 03:03:52 +0000
(15:03 +1200)
CRM/Report/Form.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Report/Form.php
b/CRM/Report/Form.php
index 698edb7b9e0ca40636ee20afcd02e2c16f4d339b..f3215dd9e6d99d26e96c7465470dc7695bb1d913 100644
(file)
--- a/
CRM/Report/Form.php
+++ b/
CRM/Report/Form.php
@@
-625,7
+625,7
@@
class CRM_Report_Form extends CRM_Core_Form {
}
// Special permissions check for private instance if it's not the current contact instance
- if (
!$this->_id ||
+ if (
$this->_id &&
(CRM_Report_BAO_ReportInstance::reportIsPrivate($this->_id) &&
!CRM_Report_BAO_ReportInstance::contactIsOwner($this->_id))) {
if (!CRM_Core_Permission::check('access all private reports')) {