X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContribute%2FForm%2FContributionView.php;h=154896968f0a473cf8cf186243c41ec3a542b91b;hb=cc58f6c5756ba74b4a914e21bb011332d5d79c80;hp=f04d0f6973a179af39577d3b24c92132fad1542f;hpb=a633b17a835afa28298d1c636f27a1801c46a805;p=civicrm-core.git diff --git a/CRM/Contribute/Form/ContributionView.php b/CRM/Contribute/Form/ContributionView.php index f04d0f6973..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) {