#200086, don't load non-existent custom.css file

This commit is contained in:
Ted Serbinski 2008-01-26 22:08:52 +00:00
parent f55e651074
commit ebdc82203b
2 changed files with 3 additions and 2 deletions

View File

@ -33,7 +33,8 @@ jQuery Superfish: http://users.tpg.com.au/j_birch/plugins/superfish/
4.1, 2008-Jan-26
----------------------
- #199224, fix display issues in IE6/7
- #199224, fix display issues in IE6/7
- #200086, don't load non-existent custom.css file
4.0, 2007-Nov-22

View File

@ -38,7 +38,7 @@ function simplemenu_footer() {
$simplemenu_theme = variable_get('simplemenu_theme', 'original');
drupal_add_css($path .'/simplemenu.css');
if ($theme != 'custom') {
if ($simplemenu_theme != 'custom') {
drupal_add_css($path .'/themes/'. $simplemenu_theme .'/'. $simplemenu_theme .'.css');
}