CRM-15603 - Standardize phrasing of 'You do not have permission to access this contact.'
authorColeman Watts <coleman@civicrm.org>
Sun, 16 Nov 2014 03:10:04 +0000 (22:10 -0500)
committerColeman Watts <coleman@civicrm.org>
Sun, 16 Nov 2014 13:41:38 +0000 (08:41 -0500)
CRM/Contact/Page/View/UserDashBoard.php

index 98b180b7e4b6092bca0606a9b82748e44468584e..7648a1d200819a8a96fbcc98cf2dfaed0dbfdcde 100644 (file)
@@ -80,7 +80,7 @@ class CRM_Contact_Page_View_UserDashBoard extends CRM_Core_Page {
     }
     elseif ($this->_contactId != $userID) {
       if (!CRM_Contact_BAO_Contact_Permission::allow($this->_contactId, CRM_Core_Permission::VIEW)) {
-        CRM_Core_Error::fatal(ts('You do not have permission to view this contact'));
+        CRM_Core_Error::fatal(ts('You do not have permission to access this contact.'));
       }
       if (!CRM_Contact_BAO_Contact_Permission::allow($this->_contactId, CRM_Core_Permission::EDIT)) {
         $this->_edit = FALSE;