Commit 8bb9b043 authored by Nigel McNie's avatar Nigel McNie
Browse files

If just exporting a list of views for someone, don't bother with the summaries...

If just exporting a list of views for someone, don't bother with the summaries for the artefact plugins.
parent 6bc3cf07
......@@ -96,7 +96,10 @@ class PluginExportHtml extends PluginExport {
$artefactexporter = new $classname($this);
$artefactexporter->dump_export_data();
$summaries[$plugin] = array($artefactexporter->get_summary_weight(), $artefactexporter->get_summary());
// If just exporting a list of views, we don't care about the summaries for each artefact plugin
if (!($this->viewexportmode == PluginExport::EXPORT_LIST_OF_VIEWS && $this->artefactexportmode == PluginExport::EXPORT_ARTEFACTS_FOR_VIEWS)) {
$summaries[$plugin] = array($artefactexporter->get_summary_weight(), $artefactexporter->get_summary());
}
}
}
......
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