Skip to content
Snippets Groups Projects
Commit 3dbccfa7 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Let the blocks itself take care of translating their titles.  Patch by
  Marco.
parent d22493f9
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -134,7 +134,7 @@ function theme_blocks($region, &$theme) {
if (($block->status && (!$user->uid || !$block->custom)) || ($block->custom && $user->block[$block->name])) {
$blocks = module_invoke($block->module, "block");
if ($blocks[$block->delta]["content"]) {
$theme->box(t($blocks[$block->delta]["subject"]), $blocks[$block->delta]["content"], $region);
$theme->box($blocks[$block->delta]["subject"], $blocks[$block->delta]["content"], $region);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment