CRM-8592 Fix for Undefined $relTypeIds variable in CRM/Contact/BAO/Relationship.php

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 4.0.4
    • Fix Version/s: 4.0.5
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      The relatedMemberships() function defines the $relTypeIds variable inside a conditional statement, but later code assumes that the variable is always defined.

        Attachments

          Activity

          [CRM-8592] Fix for Undefined $relTypeIds variable in CRM/Contact/BAO/Relationship.php
          Bob Vincent added a comment -

          The following patch ensures that $relTypeIds is always defined where required by code.

          Ashwini Poharkar added a comment -

          Already fixed in r35318.
          The related issue is here : http://issues.civicrm.org/jira/browse/CRM-8448

            People

            • Assignee:
              Ashwini Poharkar
              Reporter:
              Bob Vincent

              Dates

              • Created:
                Updated:
                Resolved: