Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 1.1
-
Fix Version/s: 1.1
-
Component/s: None
-
Labels:None
Description
CRM/Core/BAO/CustomValue.php:
function getField(&$isBool = null) {
The & gave me a parse error. Assigning defaults to varaiables by reference
is not allowed (at least with php4).
$cf =& new CRM_Core_BAO_CustomField();
$cf->id = $this->custom_field_id;
if (! $cf->find(true))
{ return null; } $isBool = $cf->data_type == Boolean ? true : false;
return $this->typeToField($cf->data_type);
}
I used civicrm-drupal-php4-rev2040.tgz