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

Undefined variable: gid in civicrm_group_roles_add_remove_groups()

    Details

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

      Description

      Error message:
      Notice: Undefined variable: gid in civicrm_group_roles_add_remove_groups() (line 584 of all/modules/civicrm/drupal/modules/civicrm_group_roles/civicrm_group_roles.module).

      Line 580:

      Is: foreach ( $groupIds as $groupId ) {

      Should be: foreach ( $groupIds as $gid ) {

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              vanrijm Mark van Rij
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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