Because the subquery is an inner join, all roles and authenticated roles were never selected. Attached patch fixes the problem.

CommentFileSizeAuthor
uc_discounts_alt_roles_fix.patch1023 bytesandrewlevine

Comments

davidburns’s picture

Status: Needs review » Fixed

patch works as expected. It was a small patch that needed to get in, so I've committed it to the dev branch.

http://drupal.org/cvs?commit=404600

Status: Fixed » Closed (fixed)

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