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

Error on opening Report edit form

    Details

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

      Description

      As site admin, when you list the available reports, and edit the Current Employer Report
      You've got an error

      """
      Notice: Undefined index: operatorType in CRM_Report_Form_Contact_CurrentEmployer->where() (line 209 of /var/www/drupal/sites/all/modules/civicrm/CRM/Report/Form/Contact/CurrentEmployer.php).
      """

      This is due to a missing 'isset' function in the CRM/Report/Form/Contact/CurrentEmployer.php file (line 209)

      Attached patch solves the problem.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              tonthon tonthon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 15 minutes
                15m
                Remaining:
                Remaining Estimate - 15 minutes
                15m
                Logged:
                Time Spent - Not Specified
                Not Specified