Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6.21
-
Component/s: None
-
Labels:
-
Documentation Required?:Developer Doc
-
Funding Source:Contributed Code
Description
Have a relation to the next issue,
https://github.com/civicrm/civicrm-core/pull/8347
The array is filled in the next line
https://github.com/civicrm/civicrm-core/blob/4.6/CRM/Core/BAO/EntityTag.php#L415
Because it's parsing by reference
https://github.com/civicrm/civicrm-core/blob/4.6/CRM/Core/BAO/Tag.php#L202
Where i found the array(CRM_Core_DAO::$_nullArray) filled, generating a incorrect query(context)
https://github.com/civicrm/civicrm-core/blob/4.6/CRM/Contact/BAO/ContactType.php#L99
To fix the issue
https://github.com/rubofvil/civicrm-core/commit/2df2443dab62348d87ee8f69e2fe212d511a057f
Attachments
Issue Links
- is supplemented by
-
CRM-17335 Stop passing CRM_Core_DAO::$_nullArray pointlessly
- Done/Fixed
- links to