From 163bfad3421e1f6f8c5a8bb0ccaceaa0f136dd70 Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 13 Oct 2016 15:10:51 +0100 Subject: [PATCH] Fix enotice --- CRM/Contact/BAO/Contact/Permission.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/BAO/Contact/Permission.php b/CRM/Contact/BAO/Contact/Permission.php index 43c5e0b440..7098ee9138 100644 --- a/CRM/Contact/BAO/Contact/Permission.php +++ b/CRM/Contact/BAO/Contact/Permission.php @@ -91,7 +91,7 @@ class CRM_Contact_BAO_Contact_Permission { $operation = ($type == CRM_Core_Permission::VIEW) ? 'View' : 'Edit'; // add clause for deleted contacts, if the user doesn't have the permission to access them - $LEFT_JOIN_DELETED = $CAN_ACCESS_DELETED = ''; + $LEFT_JOIN_DELETED = $AND_CAN_ACCESS_DELETED = ''; if (!CRM_Core_Permission::check('access deleted contacts')) { $LEFT_JOIN_DELETED = "LEFT JOIN civicrm_contact ON civicrm_contact.id = contact_id"; $AND_CAN_ACCESS_DELETED = "AND civicrm_contact.is_deleted = 0"; -- 2.25.1