Commit 58bbf008 authored by Robert Douglass's avatar Robert Douglass
Browse files

#86246 %site_slogan wasn't getting parsed

parent 01ed793f
......@@ -116,12 +116,13 @@ function page_title_page_get_title() {
$page_title = (page_title_set_title()) ? strip_tags(page_title_set_title()) : $drupal_title;
$site_name = variable_get('site_name', 'drupal');
$site_slogan = variable_get('site_slogan', '');
if ($drupal_title) {
$title = t($page_title_individual, array('%page_title' => $page_title, '%site_name' => $site_name));
$title = t($page_title_individual, array('%page_title' => $page_title, '%site_name' => $site_name, '%site_slogan' => $site_slogan));
}
else {
$title = t($page_title_front, array('%site_name' => $site_name, '%site_slogan' => variable_get('site_slogan', '')));
$title = t($page_title_front, array('%site_name' => $site_name, '%site_slogan' => $site_slogan));
}
return $title;
}
}
\ No newline at end of file
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