Skip to content
Snippets Groups Projects
Commit 7fb2a932 authored by Neil Drumm's avatar Neil Drumm 👋
Browse files

Issue #934986: Always start with admin-configured title for blocks

parent 3879d226
No related branches found
Tags 8.x-3.0-alpha21
No related merge requests found
......@@ -586,7 +586,7 @@ function homebox_prepare_block($block_key, $page) {
// Build the $block object.
$block->key = $block_key;
$block->subject = isset($block_settings['title']) ? $block_settings['title'] : NULL;
$block->subject = isset($page->settings['blocks'][$block_key]['title']) ? $page->settings['blocks'][$block_key]['title'] : NULL;
$block->content = isset($block_settings['content']) ? $block_settings['content'] : NULL;
$block->module = isset($block_settings['module']) ? $block_settings['module'] : NULL;
$block->delta = isset($block_settings['delta']) ? $block_settings['delta'] : NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment