#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

@@ -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');
}