Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Critical
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.0
-
Fix Version/s: 4.6.9
-
Component/s: None
-
Labels:
-
Documentation Required?:None
-
Funding Source:Core Team Funds
Description
I hit this in the test suite - it gets upset because it's trying to treat a string field as an integer
// set all membership_type to null
$query = "
UPDATE civicrm_membership_type
SET relationship_type_id = NULL
WHERE relationship_type_id = %1
";
$params = array(1 => array($relationshipTypeId, 'Integer');
NB - the presence of the custom separated string caused a fatal to trigger