Commit bb0f7101 authored by Francois Marier's avatar Francois Marier Committed by Gerrit Code Review
Browse files

Merge "Fix blocktype_artefactplugin to get artefact plugins for inactive blocktypes"

parents 012f8b72 01b90726
......@@ -1244,7 +1244,7 @@ function blocktype_name_to_namespaced($blocktype) {
/* Get the name of the artefact plugin that provides a given blocktype */
function blocktype_artefactplugin($blocktype) {
$installed = plugins_installed('blocktype');
$installed = plugins_installed('blocktype', true);
if (isset($installed[$blocktype])) {
return $installed[$blocktype]->artefactplugin;
}
......
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