Commit 655640a9 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1840368: Create page via tags not inserting all tagged artefacts into DB"

parents bb149ecd a8542d05
......@@ -779,6 +779,8 @@ function create_block($bt, $configdata, $view, $column, $blockinfo = null) {
}
if ($bt == 'taggedposts') {
$blocktypeclass::save_tag_selection($tagselect, $bi);
// Need to make the block save again now we have made the tag selections
$bi->set('dirty', true);
}
$bi->commit();
return $bi->get('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