X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FReport%2FForm.php;h=aeb5720d2df77267ffd7d3f2d15b2c331220057c;hb=0f8c6e5846791d886139a66ee88259e84f0d5b4b;hp=d1ba8f6bd30282ac60c60668bec659a24ccfe967;hpb=4af8e40abe7fd903c36b2bce336956e2034788da;p=civicrm-core.git diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index d1ba8f6bd3..aeb5720d2d 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -1331,7 +1331,10 @@ class CRM_Report_Form extends CRM_Core_Form { } } } - if (!empty($this->_options)) { + if (!empty($this->_options) && + (!$this->_id + || ($this->_id && CRM_Report_BAO_ReportInstance::contactCanAdministerReport($this->_id))) + ) { $this->tabs['ReportOptions'] = array( 'title' => ts('Display Options'), 'tpl' => 'ReportOptions',