Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-13877

Set views field handlers for gender and phone type to use new pseudoconstant access

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      In Drupal 6, we are getting the following errors:

      Fatal error: Call to undefined method CRM_Core_PseudoConstant::phoneType() in .../sites/all/modules/civicrm/drupal/modules/views/civicrm/civicrm_handler_field_phone_type.inc on line 41

      Fatal error: Call to undefined method CRM_Core_PseudoConstant::gender() in .../sites/all/modules/civicrm/drupal/modules/views/civicrm/civicrm_handler_field_gender.inc on line 43

      See pull request for patch: https://github.com/civicrm/civicrm-drupal/pull/94

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              torrance123 Torrance
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: