Commit 6ab6b8ab authored by Steven Wittens's avatar Steven Wittens
Browse files

#57333: Only set logo image path if it exists

parent e1c749fa
......@@ -298,12 +298,11 @@ function theme_get_setting($setting_name, $refresh = FALSE) {
}
if ($settings['toggle_logo']) {
$settings['logo'] = base_path();
if ($settings['default_logo']) {
$settings['logo'] .= dirname($theme_object->filename) .'/logo.png';
$settings['logo'] = base_path() . dirname($theme_object->filename) .'/logo.png';
}
elseif ($settings['logo_path']) {
$settings['logo'] .= $settings['logo_path'];
$settings['logo'] = base_path() . $settings['logo_path'];
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment