diff --git a/core/includes/theme.inc b/core/includes/theme.inc index f1c5e12..f8706b3 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -378,9 +378,10 @@ function theme_get_setting($setting_name, $theme = NULL) { if ($cache[$theme]->get('features.logo')) { $logo_path = $cache[$theme]->get('logo.path'); if ($cache[$theme]->get('logo.use_default')) { - if (file_exists($favicon = $theme_object->getPath() . '/logo.svg')) { + if (file_exists($theme_object->getPath() . '/logo.svg')) { $cache[$theme]->set('logo.url', file_create_url($theme_object->getPath() . '/logo.svg')); - } else { + } + else { $cache[$theme]->set('logo.url', file_create_url($theme_object->getPath() . '/logo.png')); } }