Commit 325e51de authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#177738 by chx: fix notice in Garland, when site_fields is an empty array

parent 0d577cbf
......@@ -32,7 +32,9 @@
$site_fields[] = check_plain($site_slogan);
}
$site_title = implode(' ', $site_fields);
if ($site_fields) {
$site_fields[0] = '<span>'. $site_fields[0] .'</span>';
}
$site_html = implode(' ', $site_fields);
if ($logo || $site_title) {
......
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