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:
c9c4139
)
CRM-13160 partial fix, eliminates fatal but doesn't address where there are multiple...
author
eileen
<eileen@fuzion.co.nz>
Tue, 6 Aug 2013 21:14:27 +0000
(09:14 +1200)
committer
eileen
<eileen@fuzion.co.nz>
Tue, 6 Aug 2013 21:14:27 +0000
(09:14 +1200)
CRM/Contact/BAO/RelationshipType.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/RelationshipType.php
b/CRM/Contact/BAO/RelationshipType.php
index 53db380d88373ad1a39ceb94ef034b186dc2fc03..ad6bdff9d68944fd31de4dec9b47d58169dce9ed 100644
(file)
--- a/
CRM/Contact/BAO/RelationshipType.php
+++ b/
CRM/Contact/BAO/RelationshipType.php
@@
-157,7
+157,7
@@
UPDATE civicrm_membership_type
SET relationship_type_id = NULL
WHERE relationship_type_id = %1
";
- $params = array(1 => array(
$relationshipTypeId, 'Integer
'));
+ $params = array(1 => array(
CRM_Core_DAO::VALUE_SEPARATOR . $relationshipTypeId . CRM_Core_DAO::VALUE_SEPARATOR, 'String
'));
CRM_Core_DAO::executeQuery($query, $params);
//fixed for CRM-3323