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

CRM_Contact_BAO_Relationship_getContactRelationshipType() should be static

    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: Core CiviCRM
    • Labels:
      None

      Description

      The attached patch resolves the following PHP warning notice:
      Strict warning: Non-static method CRM_Contact_BAO_Relationship::getContactRelationshipType() should not be called statically, assuming $this from incompatible context in CRM_Custom_Page_Group->browse() (line 268 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: