Closed (fixed)
Project:
Role Theme Switcher
Version:
6.x-1.3
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
2 Jun 2009 at 14:13 UTC
Updated:
17 Jul 2009 at 15:10 UTC
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
Comment #1
eric_a commentedupgrade => update
Comment #2
tiutiun commentedComment #3
tiutiun commentedFixed in version 6-1.4