Closed (fixed)
Project:
Block Theme
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2008 at 22:23 UTC
Updated:
28 Feb 2008 at 08:16 UTC
To reproduce:
1. Set the blocktheme for one block
2. Notice that everything works fine
3. Unset the blocktheme for that block by selecting <-- None -->
4. Notice that the blocktheme doesn't get removed
The problem is in blocktheme_set() where $new_val is checked before setting the blocktheme variable. When the last blocktheme is removed, $new_val is empty, so this fails to remove the last setting.
Comments
Comment #1
JacobSingh commentedThanks for this! I've posted it to CVS.
Comment #2
JacobSingh commentedComment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.