Commit c714e4a8 authored by Nigel McNie's avatar Nigel McNie
Browse files

Prevent file html export breaking when there's no files.

parent a2c136b7
......@@ -45,6 +45,9 @@ class HtmlExportFile extends HtmlExportArtefactPlugin {
'id, artefacttype, parent, title'
if (!$this->artefactdata) {
$this->artefactdata = array();
$this->create_index_for_directory($this->fileroot, 0, null);
Supports Markdown
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