Closed (fixed)
Project:
Administration theme
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2009 at 18:49 UTC
Updated:
29 Aug 2009 at 08:30 UTC
I am having a problem with this module in conjunction with the switchtheme module. It checks to see if the $custom_theme global variable has been set, and bails out if it has.
The problem is that when a user without permission to the admin_theme views the site, $custom_theme is set to 0, so switchtheme never attempts to set the new theme.
I think this is best solved in this module, by unsetting the custom_theme rather than assigning it a 0 value. This would be more compatible with other modules, since null is also false.
| Comment | File | Size | Author |
|---|---|---|---|
| admin_theme.custom_theme.patch | 740 bytes | zroger |
Comments
Comment #1
markus_petrux commentedAgree on this fix.
Comment #2
meba commentedJust found the same issue independently. The proposed patch fixes my problem too. RTBC?
Comment #3
davyvdb commentedThis has been fixed in CVS now. Thanks!