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

Undefined index for check_permission when dupe_check is enabled

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.7.23
    • Fix Version/s: 4.7.24
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      User and Admin Doc
    • Funding Source:
      Contributed Code
    • Verified?:
      No
    • How it works currently:
      Notice error is displayed and dupe check is not done
    • How it should work:
      check_permission should be check_permissions

      Description

      While using the contact create API, if one were to set the dupe_check parameter to TRUE, then this error is displayed:

      Notice: Undefined index: check_permission in civicrm_api3_contact_create() (line 59 of /home/xxx/git/civicrm-core/api/v3/Contact.php).

       

        Attachments

          Activity

            People

            • Assignee:
              edsel Edsel Lopez
              Reporter:
              edsel Edsel Lopez
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: