Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.4.4
-
Fix Version/s: 3.4.5
-
Component/s: Drupal Integration Modules
-
Labels:None
Description
In function construct( ) of civicrm_handler_field_relationship_type.inc, the following is used:
$relationshipType_array = CRM_Core_PseudoConstant::relationshipType( );
This means a default value for a parameter of CRM_Core_PseudoConstant::relationshipType( ) will be used. From PseudoConstant.php:
public static function &relationshipType( $valueColumnName = 'label', $reset = false )
{
However later in civicrm_handler_field_relationship_type.inc the call is:
foreach ($relationshipType_array as $id => $value_array )
It should be replaced by:
foreach ($relationshipType_array as $id => $value_array )