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

Dedupe listing page creates multiple 'undefined variable' warnings

    Details

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

      Description

      Loading the dedupe listing page produces a number of PHP warnings. 14 actually. Two main flavours:

      Notice: Undefined variable: src_street in CRM_Contact_Page_AJAX::getDedupes() (line 708 of C:\xampp\htdocs\civi\sites\all\modules\civicrm\CRM\Contact\Page\AJAX.php).

      Warning: Invalid argument supplied for foreach() in CRM_Contact_Page_AJAX::getDedupes() (line 755 of C:\xampp\htdocs\civi\sites\all\modules\civicrm\CRM\Contact\Page\AJAX.php).

      Should be a quick and easy fix to add some simple checking to the code. Perfect for someone relatively new to tackle =]

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              john John K.
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: