I'm not sure if this is a bug in core... but inside theme() the global $theme_path may be set to the path of a MODULE!
http://api.drupal.org/api/function/theme/6
This causes incorrect behavior in function event_include_files() since when it's called by event_block() the $file has the value 'modules/system/event.css'.
The problem is that hook_block is called by theme.inc to display a block.
Since D6 has alternative css file override methods, the easiest fix would be to just remove this code.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | event-include-files-640154-1.patch | 1.04 KB | pwolanin |
Comments
Comment #1
pwolanin commentedComment #2
killes@www.drop.org commentedThanks! Never noticed this due to always using the upcoming events block...