in uid.inc, function ctools_argument_uid_context()
there's the following code:

user_load(array('uid' => $arg));

In Drupal 7 however, user_load doesn't take arrays (http://api.drupal.org/api/drupal/modules--user--user.module/function/use...)

Haven't run into issues with this (yet), but I stumbled across it bug when doing an egrep search looking for a similar bug in another module.

Keep up the good work,
W.

CommentFileSizeAuthor
#2 1210514-uid-broken.patch388 bytesandypost

Comments

merlinofchaos’s picture

Status: Active » Fixed

Committed a fix. Thanks!

andypost’s picture

Priority: Normal » Critical
Status: Fixed » Reviewed & tested by the community
StatusFileSize
new388 bytes

last commit has critical typo

merlinofchaos’s picture

Status: Reviewed & tested by the community » Fixed

Embarassing. Fixed!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.