Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-9034 Fixes for many strict PHP warnings.
  3. CRM-9551

Default value of first parameter to CRM_Core_PseudoConstant::activityType() should be a string

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.0
    • Component/s: CiviCampaign
    • Labels:
      None

      Description

      The attached patch resolves the following PHP warning notice:
      Strict warning: Declaration of CRM_Campaign_PseudoConstant::activityType() should be compatible with & CRM_Core_PseudoConstant::activityType($all = true, $includeCaseActivities = false, $reset = false, $returnColumn = 'label', $includeCampaignActivities = false, $onlyComponentActivities = false) in CRM_Custom_Page_Group::browse() (line 251 of /var/www/sites/all/modules/civicrm/CRM/Custom/Page/Group.php).

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              pillarsdotnet Bob Vincent
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: