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

CRM_Contact_Selector::getRows() has a variable $empty that is never initialized

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.3
    • Fix Version/s: 3.4.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      On line 648 it gets set to false under certain conditions (almost always) and then is checked down on line 738, but it's never initialized.

      I'm assuming this was put in as some kind of workaround. If so, suggest adding $empty = true outside the inner loop line 594
      foreach ($names as $property) {
      ...
      }

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              demeritcowboy Dave D
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: