projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef3b929
)
CRM-18445 don't 'Assign Case Role' to client
author
Ken West
<ken.west@internode.on.net>
Wed, 20 Apr 2016 11:19:03 +0000
(21:19 +1000)
committer
Ken West
<ken.west@internode.on.net>
Wed, 20 Apr 2016 11:19:03 +0000
(21:19 +1000)
CRM/Case/BAO/Case.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Case/BAO/Case.php
b/CRM/Case/BAO/Case.php
index 9826eca3cf15c1060f634475fd501de7dea93d97..abad487d521bced2c849cb2a1c17bead12fd0c0e 100644
(file)
--- a/
CRM/Case/BAO/Case.php
+++ b/
CRM/Case/BAO/Case.php
@@
-1800,8
+1800,8
@@
SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
$dao = CRM_Core_DAO::executeQuery($query, $queryParam);
while ($dao->fetch()) {
- //
to get valid assignee contact(s)
.
- if (
isset($dao->caseId) ||
$dao->rel_contact_id != $contactId) {
+ //
The assignee is not the client
.
+ if ($dao->rel_contact_id != $contactId) {
$caseRelationship = $dao->relation_a_b;
$assigneContactName = $dao->clientName;
$assigneContactIds[$dao->rel_contact_id] = $dao->rel_contact_id;