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

Fix warning on CiviCRM Group Roles-List Association Rules page and fix invalid insert query for CiviCRM Member Roles add rule funtion

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.1, 2.2.0
    • Fix Version/s: 2.2.0
    • Labels:
      None

      Description

      civicrm_group_roles_show_rules in civicrm_group_roles.module was invoking civicrm_group_get($params) without defining the $params value. This caused an invalid attribute warning.

      civicrm_member_roles civicrm_member_roles_add_rule_form_submit() function's $add_rule was passing an empty string for the rule_id (which is an auto-increment integer field). This resulted in fatal db insert error.

        Attachments

          Activity

            People

            • Assignee:
              sunil Sunil Pawar
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: