Needs work
Project:
Switchtheme
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 May 2012 at 08:53 UTC
Updated:
31 Jan 2020 at 11:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
bradwade commentedThe above changed worked for me. Here is a patch for it from the 1.0 tag.
Comment #2
dgale commentedThis same bug exists in the 6.x version of the code, including the latest dev.
The same fix works to correct the problem. The only difference is the problem is at line 84 in switchtheme.module:
- if (isset($_SESSION['custom_theme']) && (!isset($custom_theme) || $custom_theme === '0')) {
+ if (empty($user->theme) && isset($_SESSION['custom_theme']) && (!isset($custom_theme) || $custom_theme === '0')) {
Comment #3
Cory Goodwin commentedBradewade's patch works for me.
patch to be ported?
Comment #4
Egmund commentedComment #5
Egmund commentedWell . .
I changed line 118, but seemingly no change for me.
If I log out, switch the theme, log back in, then I still can not switch the theme.
I need to delete the sesshin cookie just as before the patch.
So, still a major bug!
Comment #7
xorunaI applied the patch, it works for me. Thanks