Posted by marcp on January 23, 2008 at 10:23pm
Jump to:
| Project: | Block Theme |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
#1
Thanks for this! I've posted it to CVS.
#2
#3
Automatically closed -- issue fixed for two weeks with no activity.