Commit 2a5ea406 authored by Nigel McNie's avatar Nigel McNie
Browse files

Don't use disabled artefact plugins when exporting HTML - if they're disabled,...

Don't use disabled artefact plugins when exporting HTML - if they're disabled, their data won't be in the export.
parent bb6342eb
......@@ -73,7 +73,7 @@ class PluginExportHtml extends PluginExport {
// For each artefact plugin, if it implements leap export, ask it to
// dump out its structure
$summaries = array();
foreach (plugins_installed('artefact', true) as $plugin) {
foreach (plugins_installed('artefact') as $plugin) {
$plugin = $plugin->name;
if (safe_require('export', 'html/' . $plugin, 'lib.php', 'require_once', true)) {
$classname = 'HtmlExport' . ucfirst($plugin);
......
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