X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContribute%2FForm%2FContributionView.php;h=154896968f0a473cf8cf186243c41ec3a542b91b;hb=cc58f6c5756ba74b4a914e21bb011332d5d79c80;hp=99b02342bdac17a0f2abd457c8567abb0e6e5f6a;hpb=eeca7960db033b9ee3511f6bf7d1217b1b5caed9;p=civicrm-core.git diff --git a/CRM/Contribute/Form/ContributionView.php b/CRM/Contribute/Form/ContributionView.php index 99b02342bd..154896968f 100644 --- a/CRM/Contribute/Form/ContributionView.php +++ b/CRM/Contribute/Form/ContributionView.php @@ -1,34 +1,18 @@ assign('canDelete', TRUE); } if (!CRM_Core_Permission::check('view contributions of type ' . $financialTypeID)) { - CRM_Core_Error::fatal(ts('You do not have permission to access this page.')); + CRM_Core_Error::statusBounce(ts('You do not have permission to access this page.')); } } elseif ($this->_action & CRM_Core_Action::VIEW) { @@ -275,7 +259,7 @@ class CRM_Contribute_Form_ContributionView extends CRM_Core_Form { * * @param int $id * - * @return string $title + * @return string * Block title. */ protected function assignPaymentInfoBlock($id) {