Commit 01b90726 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix blocktype_artefactplugin to get artefact plugins for inactive blocktypes



Change-Id: I991b736a74838a17bdff25cb908e8bcba57d57ff
Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent da256ff0
......@@ -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