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)