The configuration uses translated role names for these roles. (by depending on user_roles()).
The function user_load() however loads the untranslated strings for these role names.
When trying to set a theme in hook_init there will not be a match.

To solve this issue I can see 3 options right now:
1) the behaviours of user_load() and user_roles() are changed in core to be more consistent with each other;
2) this module adapts to the current inconsistent behaviour;
3) this module decouples itself from this behaviour by using role keys instead of role names. (upgrade path needed)

Comments

eric_a’s picture

upgrade => update

tiutiun’s picture

Assigned: Unassigned » tiutiun
tiutiun’s picture

Status: Active » Fixed

Fixed in version 6-1.4

Status: Fixed » Closed (fixed)

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