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

Undefined variable: gid in civicrm_group_roles_add_remove_groups()

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.0.4, 4.0.5
    • Fix Version/s: 4.0.6
    • Labels:
      None

      Description

      With the module: CiviGroup Roles Sync
      comes the following error:
      Notice: Undefined variable: gid in civicrm_group_roles_add_remove_groups() (linea 584 di /home/civicrm/sites/all/modules/civicrm/drupal/modules/civicrm_group_roles/civicrm_group_roles.module).

      I added the first of the line 584 the following code to solve the problem:
      $gid = $groupId->group_id;

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              turneight Turneight
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: