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

Drupal 7 checkGroupRole function passes params incorrectly

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.1
    • Fix Version/s: 4.2.2
    • Component/s: None
    • Labels:
      None

      Description

      I don't think this function is called very much (or else people would have noticed it failing) but

      CRM_Core_Permission_Drupal::checkGroupRole calls user_load(array('uid' => $GLOBALS['user']->uid));
      should call user_load( $GLOBALS['user']->uid);

      see

      http://drupal.org/node/1102570#comment-4670016

      (it is called from CiviReport in some cases)

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: