Commit 8746bd3e authored by catch's avatar catch

Issue #2838095 by cilefen, pjcdawkins: Only one site slogan character in site...

Issue #2838095 by cilefen, pjcdawkins: Only one site slogan character in site slogan when using PHP 7.1
parent 51d3d8a9
......@@ -827,7 +827,9 @@ function system_preprocess_block(&$variables) {
}
$variables['site_slogan'] = '';
if ($variables['content']['site_slogan']['#access'] && $variables['content']['site_slogan']['#markup']) {
$variables['site_slogan']['#markup'] = $variables['content']['site_slogan']['#markup'];
$variables['site_slogan'] = [
'#markup' => $variables['content']['site_slogan']['#markup'],
];
}
break;
......
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