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:
25cdb79
)
CRM-9877 - Revert prior patch which was unintentionally removing filters on contact...
author
Dave Greenberg
<dave@civicrm.org>
Mon, 3 Mar 2014 21:39:59 +0000
(13:39 -0800)
committer
Dave Greenberg
<dave@civicrm.org>
Mon, 3 Mar 2014 21:39:59 +0000
(13:39 -0800)
----------------------------------------
* CRM-9877: Relationship type ommited in dropdown list when it's for all contacts
http://issues.civicrm.org/jira/browse/CRM-9877
CRM/Contact/BAO/Relationship.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/Relationship.php
b/CRM/Contact/BAO/Relationship.php
index ff62ead6704b27e62b08acea3d533385088fe76b..d53b74bdebbabb9675a6513a2df48a7f72d3ba14 100644
(file)
--- a/
CRM/Contact/BAO/Relationship.php
+++ b/
CRM/Contact/BAO/Relationship.php
@@
-382,10
+382,6
@@
class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
) {
$relationshipType[$key . '_a_b'] = $value["{$column}_a_b"];
}
- elseif (empty($value['contact_type_b'])) {
- // case contact_type_b is "all contacts", CRM-9877
- $relationshipType[$key . '_a_b'] = $value["{$column}_a_b"];
- }
if (((!$value['contact_type_b']) ||
$value['contact_type_b'] == $contactType