Commit 58eebc9d authored by Nigel McNie's avatar Nigel McNie
Browse files

Make sure to set the block title for folder blocks when upgrading

parent 2fdbae56
......@@ -672,7 +672,7 @@ function upgrade_template_convert_block_to_blockinstance($block, $view) {
}
else if ($block->artefacttype == 'folder') {
$bi = new BlockInstance(0, array(
'title' => '',
'title' => $block->title,
'blocktype' => 'folder',
'configdata' => serialize(array('artefactid' => $block->artefact)),
'view' => $view->id,
......
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